A Discord bot for handling messages
I wanted to replicate some code used in a Slack channel, this is that replication in the works.
!help
outputs
This is the help
!acronym word makes an acronym for word given
!bang @person Supportive text for an overworked employee.
!clap some sentence Caps lock and clap backs.
!docs string Searchs the ServiceNow docs for the string provided.
!emoji string makes the sentence fun and hard to read with emojis
!flip string Or !invert, flips the string upside down.
!insult Says an SN-related insult.
!jace string Searchs jaces blog for the string provided.
!job Creates a random message a SN Dev may receive from a recruiter.
!lmgtfy string let me google that for you.
!ping test ....
++ string Give points away
!snprotips or !prof or !tips string Searchs snprotips blog for the string provided.
!help lists all commands
node chat
I'd copy ./responses/snprotips.js
if you need multiple phrases to look for, otherwise, I'd copy ./responses/docs.js
In those you'll have a modules.exports
that has a command
, and help
. Those are all that's needed to make this work. You have access to all the Eris things via the bot
variable and all the message things via the msg
variable.
Use this link to install this on your workspace.
Thanks @earlduque for the inspiring repo for you're slacker bot (now private)
Thanks goes to these wonderful people (emoji key):
MBahrSNC 💻 |
Jace 💻 🤔 |
Earl Duque 💻 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!