Skip to content

Commit

Permalink
fix(GuildMemberRoleManager): typo (#6335)
Browse files Browse the repository at this point in the history
  • Loading branch information
SinisterDeveloper committed Aug 7, 2021
1 parent d14a6bf commit d87299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/GuildMemberRoleManager.js
Expand Up @@ -138,7 +138,7 @@ class GuildMemberRoleManager extends DataManager {
} else {
roleOrRoles = this.guild.roles.resolveId(roleOrRoles);
if (roleOrRoles === null) {
throw new TypeError('INVALID_TYPE', 'roles', 'Role, Snwoflake or Array or Collection of Roles or Snowflakes');
throw new TypeError('INVALID_TYPE', 'roles', 'Role, Snowflake or Array or Collection of Roles or Snowflakes');
}

await this.client.api.guilds[this.guild.id].members[this.member.id].roles[roleOrRoles].delete({ reason });
Expand Down

0 comments on commit d87299b

Please sign in to comment.