forked from Galactic/galactic-bot
debugging
This commit is contained in:
parent
12312de869
commit
ce80bda8cc
@ -94,6 +94,10 @@ class GuildLogger extends Observer {
|
||||
if (ignore && ignore.includes(message.channel.id)) return undefined;
|
||||
|
||||
const hook = await message.guild.getWebhook('messageLog');
|
||||
if (!hook) {
|
||||
this.client.logger.debug(`Missing messageLog hook in ${message.guild.name} (${message.guild.id})`);
|
||||
return;
|
||||
}
|
||||
|
||||
const embed = {
|
||||
// author: {
|
||||
|
Loading…
Reference in New Issue
Block a user