Simp-O-Matic

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

commit 08b0336e8c0e7caa188bb1ff165904fc1f417c36
parent eeb4e2d40015b027d28c11aa0fd05399a09c6960
Author: Bruno <b-coimbra@hotmail.com>
Date:   Wed, 18 Mar 2020 18:28:21 -0300

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

diff --git a/lib/commands/ship.ts b/lib/commands/ship.ts @@ -20,8 +20,8 @@ export default home_scope => { let userAvatars = { first: message.mentions.users.size === 1 ? message.author.displayAvatarURL - : message.mentions.users[0], - second: message.mentions.users[1].displayAvatarURL() + : message.mentions.users.first().displayAvatarURL, + second: message.mentions.users.last().displayAvatarURL }; const responses = [