🎨 Convert id bigint to string

This commit is contained in:
Flam3rboy
2021-04-06 18:01:49 +02:00
parent 79c4fd55fc
commit 7685e19835
59 changed files with 493 additions and 495 deletions
+3 -3
View File
@@ -48,8 +48,8 @@ export declare class Permissions extends BitField {
static rolePermission(roles: Role[]): bigint;
static finalPermission({ user, guild, channel, }: {
user: {
id: bigint;
roles: bigint[];
id: string;
roles: string[];
};
guild: {
roles: Role[];
@@ -59,7 +59,7 @@ export declare class Permissions extends BitField {
};
}): bigint;
}
export declare function getPermission(user_id: bigint, guild_id: bigint, channel_id?: bigint, cache?: {
export declare function getPermission(user_id: string, guild_id: string, channel_id?: string, cache?: {
channel?: ChannelDocument | null;
member?: MemberDocument | null;
}): Promise<Permissions>;