Skip to content

Conversation

nyxoy44
Copy link
Contributor

@nyxoy44 nyxoy44 commented Nov 9, 2022

About

changed CommandClient#.isUserBlacklisted(guildID: string) to CommandClient#.isUserBlacklisted(userD: string)

Status

  • These changes have been tested against Discord API or do not contain API change.
  • [ x ] This PR includes only documentation changes, no code change.
  • This PR introduces some Breaking changes.

Copy link
Member

@Helloyunho Helloyunho left a 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

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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

userd..?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i mean userID

isGuildBlacklisted: (guildID: string) => boolean | Promise<boolean>
isUserBlacklisted: (guildID: string) => boolean | Promise<boolean>
isChannelBlacklisted: (guildID: string) => boolean | Promise<boolean>
isUserBlacklisted: (userdID: string) => boolean | Promise<boolean>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also in here

@Helloyunho
Copy link
Member

oh right fix the lint error too

Copy link
Contributor Author

@nyxoy44 nyxoy44 left a 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

@Helloyunho
Copy link
Member

changed userdID to userID

nice, I will fix the lint error later, thanks for the pr!

@Helloyunho Helloyunho merged commit 0247454 into harmonyland:main Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants