Simp-O-Matic

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

commit 3a8a494128d9ea3e502d45bc2fa23d37e52ca11d
parent 7f988b4289fc6c79d25e718925522453d975d592
Author: danyisill <danyisill@users.noreply.github.com>
Date:   Sat, 21 Mar 2020 15:19:03 +0300

Async x/v

Diffstat:
Mlib/commands/yn.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/commands/yn.ts b/lib/commands/yn.ts @@ -1,4 +1,4 @@ export default home_scope => { const { message } = home_scope; - message.react('✅').then(() => message.react('❎')).catch(console.log) + Promise.all(['✅', '❎'].map(c => message.react(c))).then(console.log) }; \ No newline at end of file