diff --git a/src/middleware/Logger.js b/src/middleware/Logger.js index 9a64bed..bb8354f 100644 --- a/src/middleware/Logger.js +++ b/src/middleware/Logger.js @@ -47,7 +47,7 @@ class Logger { this.shardingManager .on('shardCreate', (shard) => { - this.write('debug', "Shard created.", shard); + this.write('info', "Shard created.", shard); }); } diff --git a/src/structure/client/wrappers/InvokerWrapper.js b/src/structure/client/wrappers/InvokerWrapper.js index faa6067..36709b1 100644 --- a/src/structure/client/wrappers/InvokerWrapper.js +++ b/src/structure/client/wrappers/InvokerWrapper.js @@ -102,14 +102,15 @@ class InvokerWrapper { const data = { content: str, files: opts.files, - embeds: opts.embed ? [opts.embed] : [], + embeds: opts.embed ? [opts.embed] : opts.embeds || [], disableMentions: opts.disableMentions }; if (opts.editReply) await this.editReply(data); - else await this.channel.send(data).then((msg) => { - if (opts.delete) msg.delete(); - }); + else await this.reply(data) //this.channel.send(data) + .then((msg) => { + if (opts.delete) msg.delete(); + }); return this.channel.awaitMessages({ filter: (m) => m.author.id === this.user.id, max: 1, time: opts.time * 1000 || 30_000, errors: ['time'] diff --git a/src/structure/components/settings/moderation/WordWatcher.js b/src/structure/components/settings/moderation/WordWatcher.js index e4793c8..e4fc388 100644 --- a/src/structure/components/settings/moderation/WordWatcher.js +++ b/src/structure/components/settings/moderation/WordWatcher.js @@ -6,7 +6,7 @@ class WordWatcher extends FilterSetting { constructor(client) { super(client, { name: 'wordwatcher', - description: 'Flag messages for potentially offensive content, useful when you don\'t want to outright filter out messages', + description: 'Flag messages for potentially offensive content instead of deleting automatically', module: 'moderation', default: { channel: null,