Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

commit 41afe4ca81f8023953b208e247af05c9e304caaf
parent 08b0336e8c0e7caa188bb1ff165904fc1f417c36
Author: Bruno <b-coimbra@hotmail.com>
Date:   Wed, 18 Mar 2020 18:29:56 -0300

Update ship.ts
Diffstat:
Mlib/commands/ship.ts | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/commands/ship.ts b/lib/commands/ship.ts @@ -19,9 +19,9 @@ export default home_scope => { let userAvatars = { first: message.mentions.users.size === 1 - ? message.author.displayAvatarURL - : message.mentions.users.first().displayAvatarURL, - second: message.mentions.users.last().displayAvatarURL + ? message.author.avatarURL + : message.mentions.users.first().avatarURL, + second: message.mentions.users.last().avatarURL }; const responses = [ @@ -67,7 +67,7 @@ export default home_scope => { let response: string = `${getPercentage(die)} ${getResponse(die)} \n` + - `${userAvatars.first} :white_heart: ${userAvatars.second}`.format(FORMATS.block_quote); + `${userAvatars.first} :white_heart: ${userAvatars.second}`; message.answer(response); }