Simp-O-Matic

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

commit 0684b7f356f9396b444e5b214089de777ce28ed4
parent f8befaad5131b663683f86f46bb004dda40b4da8
Author: Demonstrandum <moi@knutsen.co>
Date:   Mon, 23 Mar 2020 13:06:59 +0000

Fetch PNGs not, WEBP.

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 @@ -47,8 +47,8 @@ export default (home_scope : HomeScope) => { : message.mentions.users.first(), message.mentions.users.last()]; const user_avatars = { - first: users[0].avatarURL(), - second: users[1].avatarURL() + first: users[0].avatarURL({ 'format': 'png' }), + second: users[1].avatarURL({ 'format': 'png' }) }; const in_range = ([min, max]: number[], num: number) =>