Skip to content

Commit 0247454

Browse files
authored
Merge pull request #330 from nyxoy44/main
Update client.ts - needs lint error fix
2 parents 6bc1ffd + 76b214b commit 0247454

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/commands/client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export interface CommandClientOptions extends ClientOptions {
3030
/** Method to check if certain Guild is blacklisted from using Commands. */
3131
isGuildBlacklisted?: (guildID: string) => boolean | Promise<boolean>
3232
/** Method to check if certain User is blacklisted from using Commands. */
33-
isUserBlacklisted?: (guildID: string) => boolean | Promise<boolean>
33+
isUserBlacklisted?: (userID: string) => boolean | Promise<boolean>
3434
/** Method to check if certain Channel is blacklisted from using Commands. */
35-
isChannelBlacklisted?: (guildID: string) => boolean | Promise<boolean>
35+
isChannelBlacklisted?: (channelID: string) => boolean | Promise<boolean>
3636
/** Allow spaces after prefix? Recommended with Mention Prefix ON. */
3737
spacesAfterPrefix?: boolean
3838
/** List of Bot's Owner IDs whom can access `ownerOnly` commands. */
@@ -66,8 +66,8 @@ export class CommandClient extends Client implements CommandClientOptions {
6666
getChannelPrefix: (channelID: string) => PrefixReturnType
6767

6868
isGuildBlacklisted: (guildID: string) => boolean | Promise<boolean>
69-
isUserBlacklisted: (guildID: string) => boolean | Promise<boolean>
70-
isChannelBlacklisted: (guildID: string) => boolean | Promise<boolean>
69+
isUserBlacklisted: (userID: string) => boolean | Promise<boolean>
70+
isChannelBlacklisted: (channelID: string) => boolean | Promise<boolean>
7171

7272
spacesAfterPrefix: boolean
7373
owners: string[]

0 commit comments

Comments
 (0)