GroupQuotes is a Discord bot that let's you save and display quotes in your Discord server.
Invite GroupQuotes to your server!
This bot was written in TypeScript using the discordjs library, alongside MongoDB and Redis as the databases. Quotes are stored in seperate collections per server in the MongoDB database, and Redis is used to store which text channel in the Discord server is set as the gallery channel.
While this bot is already being hosted and has a global invite link that can be used on any server, you can run an instance yourself.
npm install and then
npm run start
or ts-node src/index.ts
The following environment variables are used in the bot:
The token of the bot from the Discord Developer Portal.
The id of the Discord Application for the bot from the Discord Developer Portal.
Username and password for the MongoDB instance.
Username and password for the Redis instance.
-
Being able to save multiple quotes at once, ie. a small conversation comprised of two to five quotes, is down the roadmap.
-
Currently, for listing quotes, the bot uses a package for creating paginated embed messages that contains functionality for flipping through pages. This package has an issue where if there is only one page of messages, hitting any of the buttons results in an "Interaction failed" message (it does not seem to crash the bot at least). In the future, this package might be replaced with a fixed, forked version, or an in house solution for paginated embeds.
