-
-
Notifications
You must be signed in to change notification settings - Fork 47
Update client.ts #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update client.ts #330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my god I'm embarrassed that we made this mistake
after a minor typo fix I think it's good to go
src/commands/client.ts
Outdated
isGuildBlacklisted?: (guildID: string) => boolean | Promise<boolean> | ||
/** Method to check if certain User is blacklisted from using Commands. */ | ||
isUserBlacklisted?: (guildID: string) => boolean | Promise<boolean> | ||
isUserBlacklisted?: (userdID: string) => boolean | Promise<boolean> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userd
..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i mean userID
src/commands/client.ts
Outdated
isGuildBlacklisted: (guildID: string) => boolean | Promise<boolean> | ||
isUserBlacklisted: (guildID: string) => boolean | Promise<boolean> | ||
isChannelBlacklisted: (guildID: string) => boolean | Promise<boolean> | ||
isUserBlacklisted: (userdID: string) => boolean | Promise<boolean> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also in here
oh right fix the lint error too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed userdID to userID
nice, I will fix the lint error later, thanks for the pr! |
About
changed CommandClient#.isUserBlacklisted(guildID: string) to CommandClient#.isUserBlacklisted(userD: string)
Status