Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Add Event role add/remove commands#49

Open
huang-a wants to merge 3 commits intooinkcraft:devfrom
huang-a-fork:feature/cmd_role_event
Open

Add Event role add/remove commands#49
huang-a wants to merge 3 commits intooinkcraft:devfrom
huang-a-fork:feature/cmd_role_event

Conversation

@huang-a
Copy link
Member

@huang-a huang-a commented Oct 14, 2020

The code is untested because I don't have Discord API tokens set up. The code should™ work when tested though.

Andy Huang and others added 2 commits October 13, 2020 20:03
Untested code

Co-authored-by: Andy Huang <ahuang-noreply@protonmail.com>
Untested code

Co-authored-by: Andy Huang <ahuang-noreply@protonmail.com>
@Nepgfurmixpro
Copy link
Contributor

Nepgfurmixpro commented Oct 14, 2020

Everything looks good but “addRole” and “removeRole” has been removed from discord.js and is now “roles.add” and “roles.remove”

GuildMember.{addRole, removeRole} changed to GuildMember.{roles.add, roles.remove}

Co-authored-by: Andy Huang <ahuang-noreply@protonmail.com>
@huang-a
Copy link
Member Author

huang-a commented Oct 14, 2020

Everything looks good but “addRole” and “removeRole” has been removed from discord.js and is now “roles.add” and “roles.remove”

Ok, that should be fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants