Just a fun lil bot. Features include - sending reminders (which are backed up in a JSON file), sending the weather (in the US), fixing embeds, and other dumb stuff.
This is a v2 update to the original BigBoiBot, and is largely a rewrite.
For Big Boi Bot to run, you need to:
- Put the proper info into a
configu.txtfile, which is in the same directory as the Python script file:- Playing: The playing message that shows up on the bot's profile when it's running. Set to "" by default.
- Fixing links: The syntax for link fixes is
Original URL;New URL. For example -twitter.com;vxtwitter.com. If the url haswww.at the beginning, that must be specified, buthttps://should not be, as it is added to all of the URLs after the fact.
- Put your bot token in a
token.txtfile, which is in the same directory as the Python script file. - Optional: Replace the directory variable on line 23 where Python reads the .txt and .json files with your own.
- This should not be necessary in most cases, but if Python for some reason is not reading your files, this is a good place to start troubleshooting.
- Note that a
reminders.jsonfile will be created for you in the directory on the first run of the bot. - Note that dependencies are included in the
requirements.txtfile.- You can install these automatically by running
pip install -r requirements.txtwhen in the directory.
- You can install these automatically by running
Made using Discord.py. (Github)
Weather provided by the weather.gov API. Using this wrapper.
Geocoding for weather provided by the OpenStreetMap API and Nominatim. Using this wrapper.
Uses BetterTwitFix by default to fix Twitter/X URLs.
Uses VixBluesky by default to fix Bluesky URLs.
Uses vxtiktok by default to fix TikTok URLs.
Uses InstaFix by default to fix Instagram URLs.
Uses fxreddit by default to fix Reddit URLs.
- Make URL replacements fully modular
- Make the project more Pythonic/modularized (ie make it so the script isn't just one file), and clean up a bit
- Replace Google Maps API with a new API since they're trying to charge me now (OpenStreetMap)
- Check perms on Discord dev website
- Bug Fix: Retry deleting embed if list index out of range
- Timestamp converter
- Unit testing