forked from Galactic/galactic-bot
some bs
This commit is contained in:
parent
873d193501
commit
baeccab762
@ -90,7 +90,7 @@ class MuteSetting extends Setting {
|
|||||||
error: true
|
error: true
|
||||||
};
|
};
|
||||||
|
|
||||||
const foundRole = await this.client.resolver.resolveRole(args.join(' '), message.guild);
|
const foundRole = await message.guild.resolveRole(args.join(' '));
|
||||||
if(foundRole) {
|
if(foundRole) {
|
||||||
const prompt = await message.prompt(message.format('S_MUTE_ROLEPROMPT', { name: foundRole.name, id: foundRole.id }), { emoji: 'loading' });
|
const prompt = await message.prompt(message.format('S_MUTE_ROLEPROMPT', { name: foundRole.name, id: foundRole.id }), { emoji: 'loading' });
|
||||||
const response = prompt.content.toLowerCase();
|
const response = prompt.content.toLowerCase();
|
||||||
|
Loading…
Reference in New Issue
Block a user