A custom, non-serious, utility, and music featuring Discord bot I use for my Discord server. It features whatever fun commands I wanted to add or stuff that was requested by the community. I have a small community, so I felt comfortable enough not adding any priveledge checks yet. If you plan on using this in your own server, please keep that in mind. Also, this bot is only hosted for my community's own personal use; if you want to use this bot, you'll have to host it yourself.
play {query}
--> Plays from a query or url (almost anything youtube_dl supports).queue
--> Shows the current queue.queue {query}
--> Add a song to the queue.pop
--> Remove the most recent added song from the queue.pop {index}
--> Remove a song from the queue at index.skip
--> Skip the current playing song.stop
--> Stops the music player and disconnects the bot from the voice channel.pause
--> Pause the music player.resume
--> Resume the music player.volume {1-100}
--> Changes the music player's volume.
/utils count
--> Returns total number of text messages from author in a channel./utils channel_count
--> Returns total number of text messages in a channel./utils guild_export
--> Returns all the messages from all the channels in a Discord guild, as a JSON file in your DMs. For owners only.
For obvious reasons, these commands are likely to be removed or disabled in a future release. Funny at first, but they get annoying after a while.
/memes roulette
--> Plays a gunshot sounds and kicks a random user from the voice channel./memes driveby
--> Plays machine gun sound while kicking multiple people from the voice channel./memes grenade
--> Plays grenade sound while everyone connected to the current voice channel is scattered across various channels./memes minecraft
--> Plays the "Mining - Minecraft Parody of Drowning" music video./memes smd
--> Plays the grapefruit technique video. I'm sorry./memes goggins
--> Drops a motivational quote from David Goggins.
Requires a Firebase environment to work since this uses Firestore under the hood.
/reminders add {who} {content} {when}
--> Remind you or another user some time later in the future./reminders list
--> Shows you a list with links to your upcoming reminders./reminders delete {reminder_index}
--> Delete an upcoming reminder by the index. Use/reminders list
command first to get thereminder_index
.
A scheduled cron job that posts inspirational quotes to a #quote-of-the-day
channel if
it exists. Possible by the theysaidso API.
If you want to test out this bot in your own Discord server, here's how:
- Start by creating an account & application on the Discord developer portal.
- In the "Bot" section, give access to all "Gateway Intents" and create a token. Copy the token and keep it somewhere safe for now.
- Invite the bot to your Discord server. Do this by going to the "OAuth2" section, then under "URL Generator", check the "bot" scope checkbox and "Administrator" permission checkbox. The generated URL at the bottom of the page should take you through the steps to invite the bot to your Discord server.
- Clone the repository locally.
git clone https://github.com/amaroklopcic/amarbot
- Create a Python virtual environment and install the required dependencies.
python -m venv .venv;
source .venv/bin/activate;
pip install -U pip setuptools wheel;
pip install -r requirements.txt;
- Create an
.env
file in the root of the project and add the following line to it, replacing the fake key below with the one you copied from the Discord developer portal.
AMARBOT_TOKEN=sbhidihBISDIbihdsbihibsidSI29H9SXx.SDU99SDISD
- Run it.
python amarbot.py