forked from Galactic/galactic-bot
typo fix
This commit is contained in:
parent
f94f512a3d
commit
6eeb5aa6e1
@ -34,7 +34,7 @@ class SelfroleCommand extends SlashCommand {
|
||||
const { guild, member } = invoker;
|
||||
const { selfrole } = await guild.settings();
|
||||
if (!selfrole.roles.length) return { index: 'COMMAND_SELFROLE_NONE', emoji: 'failure' };
|
||||
const me = await guild.resolveMemberr(this.client.user);
|
||||
const me = await guild.resolveMember(this.client.user);
|
||||
const ownHighest = me.roles.highest;
|
||||
|
||||
const memberRoles = member.roles.cache.map((r) => r.id);
|
||||
|
Loading…
Reference in New Issue
Block a user