Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Latest commit

 

History

History
74 lines (55 loc) · 3.48 KB

README.md

File metadata and controls

74 lines (55 loc) · 3.48 KB

CajonBot

All Contributors

A Discord bot for handling messages

I wanted to replicate some code used in a Slack channel, this is that replication in the works.

Usage

!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

Contributing

  1. Fork it (https://github.com/jacebenson/cajonbot/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. To Test, run node chat
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

To add your new commands

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.

Installing on a Discord server;

Use this link to install this on your workspace.

Acknowledgments

Thanks @earlduque for the inspiring repo for you're slacker bot (now private)

Contributors ✨

Thanks goes to these wonderful people (emoji key):

MBahrSNC
MBahrSNC

💻
Jace
Jace

💻 🤔
Earl Duque
Earl Duque

💻 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!