Simp-O-Matic

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

commit 01cf281a6abca216849f5cfe9e97e9e39c938150
parent 81195fb279c535fcb1ba08a38d6787fcb95072f3
Author: Bruno <b-coimbra@hotmail.com>
Date:   Tue, 24 Mar 2020 16:40:16 -0300

added emojis command

Diffstat:
MHELP.md | 1+
Alib/commands/emojis.ts | 6++++++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/HELP.md b/HELP.md @@ -99,6 +99,7 @@ - `!fortune` — Brings you fortune. - `!motivation` — Get a motivational quote (for when you're feeling a lil down). - `!pat [@user-name]` — Give someone a pat on the head. +- `!emojis` — Lists all the emojis on the server. ▬▬▬ diff --git a/lib/commands/emojis.ts b/lib/commands/emojis.ts @@ -0,0 +1,6 @@ +export default (home_scope: HomeScope) => { + const { message } = home_scope; + message.channel.send( + message.guild.emojis.cache.map(x => x.name).join(' ') + ); +};