ListBot is a relatively simple Discord Bot, written in Javascript to create Lists in every channel.
Let's add everything we need on a community list!
A couple of friends and me wanted to keep track of the movies we wanted to watch on our discord server, so I created ListBot to do that.
By clicking here, you can authorize ListBot to be used in your server.
You can also check out our Discord server in which we discuss what we can add to the bot, possible bug fixes, we sometimes have fun and something else in here.
Once the bot is running and connected to your Discord channel and database you can use the following commands:
* $add <component>: adds a component to the list
* $multi-add <element> <element> - adds mutiple elements \in a list
* $help: shows you a message with the available commands
* $list: lists all the components \in the channel\'s list
* $log: a log of the versions
* $poll <active_time_in_minutes>: creates a poll on 5 random items of the list. If attribute is not supplied the poll has no limitation of time.
* $random: gives you a random component from the list
* $remove <component>: removes the desired component
* $multi-remove <element> <element> - removes multiple elements \in a list
* $remind <time_in_minutes> <component>: adds a component to the list and reminds you of it in n minutes
Learn how to create a Discord bot and get a valid token here.
git
..env.example
file named .env
found in ./src/config/.env.example
and replace the placeholders with your bot token and MongoDB credentialsnpm install
to install all dependenciesnpm run dev
to start your server as development
environment or npm run start
for production
For development, you can run ListBot using Docker and Docker Compose following these steps below:
.env
with your bot tokendocker-composer up -d
. This will build all containers on the first run and will be placed in the backgrounddocker-compose logs -f
or read all in Portainerdocker-compose down
The docker-compose.yml file contains:
To connect on:
<img src="https://cdn2.downdetector.com/static/uploads/logo/image21.png" width="100"; height="100"/> <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcT6lpesO6pwpEcg_vPih50fcYPqy4F0Y_xw5Q&usqp=CAU" width="100"; height="100"/> <img src="https://www.net-aware.org.uk/siteassets/images-and-icons/application-icons/app-icons-discord.png?w=585&scale=down" width="100"; height="100"/> <img src="https://i.pinimg.com/originals/60/fd/e8/60fde811b6be57094e0abc69d9c2622a.jpg" width="100"; height="100"/>