Python-discord-bot

A fun discord bot coded in python. It has multiple features and quirky responses.

Fun commands

/joke [lang]: Answers with a random joke in the specified language.

/blague: Answers with a random joke in french.

/meme: Sends a random meme using meme-api.

/monkey: Sends a random image of a monkey using placemonkeys.com.

/roast user [name] (server_specific): Roasts the specified person. If the server_specific argument is set to True, the roast will be chosen randomly from the server roasts, otherwise it will be from all the available roasts.

/roast list (server_specific): Shows all available roasts. Choose whether or not you only want the server roasts with server_specific.

/roast add [roast]: Adds a roast to the server roasts (server_specific). The roast must contain '@n' to specify where the name of the person to roast goes.

/roast delete [index]: Deletes the server roast associated with the index. Every server roast's index is shown in the /roast list command.

/poulpi (state): Sends a random image of poulpi ! state is either 'happy' or 'sad'.

/heroswap [face] (hero): Swaps the face of the image with the face of the specified hero. If no hero is specified, the bot will choose a random hero.

/faceswap [source] [target]: Puts the source face on the target face.

Faceswap examples

System commands

/features: Shows a list of all the available features (automatic responses).

/enable or /disable [feature]: Activates or deactivates a feature.

/help: Shows the list of available commands.

My class' specific commands

These commands are only available in a personal server.

/edt [...]: Captures and sends a screenshot of our schedule for the week.

What the edt command looks like

Automatic responses

The bot analyses every message sent in a server and answers specific ones if the automatic response is enabled for the server.

Backflip GIFs:
When a message contains 'backflip', the bot will respond with a backflip GIF.

Di:
If a word starts with 'di' or 'dy', the bot will answer with the rest of the word.

Cri:
If a word starts with 'cri' or 'cry', the bot will answer with the rest of the word in uppercase.

Insults:
If a message contains a french insult, the bot will answer with a random response.

To activate or deactivate a feature, use the /enable or /disable commands.

Have fun with the code! Created with ❤️ by Geryes.