Skip to content

hatanuk/PleaseExplain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PleaseExplain

Ever tried reading a Discord conversation before asking yourself, 'What the hell do these words even mean? What are they saying? Is this communication?"

PleaseExplain is a Discord bot which offers a solution to this mayhem by allowing you to define certain words or phrases.

Now you don't need to be versed in seven layers of irony and inside jokes to participate in a regular conversion!

Running the Bot

The bot is currently hosted on DigitalOcean, and you can invite it to your server through this link:
https://discord.com/oauth2/authorize?client_id=1128976599677665411
However, note that I'm not planning to host it forever, and your data could be lost.

Instead, feel free to clone this project, create an application and bot on the Discord Developer Portal, and paste the token in a .env file under the label TOKEN=
Make sure to install the dependencies in requirements.txt.
You may also need to create a directory called database/ under which an SQLite database file will be created.
Finally, just run main.py, and optionally set it as a system process to keep the bot operational.

App Commands

/pleaseexplain [term]
Displays a beautiful, succinct explanation of a term, given that it has been defined by somebody.

/define [term] [definition]
Simple as it sounds. Associates a term, which could be a word or phrase, with a specific definition. Feel free to include examples.

/undefine [term]
Removes that term from the dictionary.

/dictionary
Displays all of the terms in your server.

/random
Displays a random definition. Go crazy, learn some new vocabulary.

/usage_counting [on/off]
Controls whether the bot reads messages to count the amount of times a term has been used.

/clear_data [type]
Permenantly removes certain type of data (usage, dictionary, etc.) held by the bot.

/view_config
Displays the current configs you have saved for your server.

About

a Discord bot for defining obscure terminology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages