- Clone the repo and run
yarn install
$ git clone https://github.com/metaplex-foundation/larry-discord-bot.git $ cd larry-discord-bot $ yarn install
- Duplicate the
.env.example
file and rename it.env
- Fill in the placeholders in the
.env
file with your credentials - To run the Docs Bot
$ yarn run docs-bot
- To run the Mod Bot:
$ yarn run mod-bot
The first bot allows you to hook into any Algolia DocSearch index and uses the interaction autocomplete functionality to make it easy for users to query documentation.
TODO:
- Add functionality to store custom FAQs on a per-server basis
- Convert the docs commands to a class and enable servers to deploy their own docs commands with an Algolia index and key
The mod bot does a number of things:
- check members on join and compares their username to that of the moderation team of a server (configurable on a per-server basis). If it matches, the user is immediately kicked and the team is alerted.
- get a list of probable bots in a server, and can perform bulk actions (kick/ban) on all of them.
- A number of other helpful things.
TODO:
- Finish this bot