https://github.com/aaaaamed/shower-thoughts-bot
A discord bot that says shower thoughts. Made using interactions-py.
https://github.com/aaaaamed/shower-thoughts-bot
discord discord-bot interactions-py showerthoughts
Last synced: about 2 months ago
JSON representation
A discord bot that says shower thoughts. Made using interactions-py.
- Host: GitHub
- URL: https://github.com/aaaaamed/shower-thoughts-bot
- Owner: AAAAAmed
- License: mit
- Created: 2023-12-27T23:33:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-08T06:33:42.000Z (over 1 year ago)
- Last Synced: 2024-01-08T08:38:00.332Z (over 1 year ago)
- Topics: discord, discord-bot, interactions-py, showerthoughts
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shower-Thoughts-Bot
Just a discord bot that says some shower thoughts.## How to run
### Making the bot account
- Go to the Discord Developer Portal and create a new app
- Create a new bot in your app and make sure to copy it's token somewhere
- Under 'OAuth2' go to 'URL Generator'
- Under 'SCOPES' select `bot` and `applications.commands`
- Under 'BOT PERMISSIONS' select 'Read Messages/View Channels' and 'Send Messages'
- Go to the generated URL and invite the bot to a Discord server
### Running the bot
- Clone this repo
- Copy your bot's token into the `token.txt` file
- Install the `discord-py-interactions` module
- Run `main.py`That's it! You should see the bot in your server be online.
To use the bot, just type `/shower_thought` and optionally you can tell it how many shower thoughts you want (the default is 1).The bot chooses a random thought from the `showerThoughts.txt` file, to add your own shower thoughts make a new line for each thought.
***If the bot says 'Too many shower thoughts at once!' that's because it reached the 2000 character limit as all the shower thoughts are sent as 1 message.**