diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
commit | 877537043dd2a8ba16037f061716d9c6f7a5764a (patch) | |
tree | 9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/commands/utilities/suicide.ts | |
parent | a1ab06dcfccef90192b90910aecdddbc505eca00 (diff) | |
download | tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2 tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip |
change printWidth to 130 and update dependecies
Diffstat (limited to 'src/commands/utilities/suicide.ts')
-rw-r--r-- | src/commands/utilities/suicide.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts index 3709e37..8d6f002 100644 --- a/src/commands/utilities/suicide.ts +++ b/src/commands/utilities/suicide.ts @@ -49,7 +49,11 @@ export default class TemplateCommand extends BushCommand { // If the original message was a reply -> imitate it !message.util.isSlashMessage(message) && message.reference?.messageId && message.guild && message.channel ? await message.channel.messages.fetch(message.reference!.messageId!).then(async (message1) => { - await message1.reply({ embeds: [suicideEmbed], allowedMentions: AllowedMentions.users(), target: message1 }); + await message1.reply({ + embeds: [suicideEmbed], + allowedMentions: AllowedMentions.users(), + target: message1 + }); }) : await message.util.send({ embeds: [suicideEmbed], allowedMentions: AllowedMentions.users() }) ); |