forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
073177be31
commit
5115f5a6e1
@ -275,7 +275,7 @@ class Resolver {
|
|||||||
|
|
||||||
const match = resolveable.toString().match(id);
|
const match = resolveable.toString().match(id);
|
||||||
const [, , rId] = match;
|
const [, , rId] = match;
|
||||||
const role = await roles.fetch(rId).catch(this.client.logger.error);
|
const role = await roles.fetch(rId).catch(this.client.logger.error.bind(this.client.logger));
|
||||||
if (role) resolved.push(role);
|
if (role) resolved.push(role);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -204,7 +204,7 @@ class GuildLogger extends Observer {
|
|||||||
else
|
else
|
||||||
field.value += ` ${word}`;
|
field.value += ` ${word}`;
|
||||||
}
|
}
|
||||||
if (field.value.length) fields.push(field);
|
if (field.value.trim().length) fields.push(field);
|
||||||
|
|
||||||
const embed = {
|
const embed = {
|
||||||
title: wrapper.format('MSGLOG_DELETE_TITLE', { channel: channel.name, author: Util.escapeMarkdown(author.tag) }),
|
title: wrapper.format('MSGLOG_DELETE_TITLE', { channel: channel.name, author: Util.escapeMarkdown(author.tag) }),
|
||||||
|
Loading…
Reference in New Issue
Block a user