fix(GuildMemberRoleManager): typo (#6335)

This commit is contained in:
SinisterDeveloper
2021-08-07 21:20:28 +05:30
committed by GitHub
parent d14a6bfe1d
commit d87299ba20

View File

@@ -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 });