Skip to content

ellierip/BigBoiBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigBoiBot

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.

A Note

This is a v2 update to the original BigBoiBot, and is largely a rewrite.

Run it yourself

For Big Boi Bot to run, you need to:

  • Put the proper info into a configu.txt file, 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 has www. at the beginning, that must be specified, but https:// should not be, as it is added to all of the URLs after the fact.
  • Put your bot token in a token.txt file, 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.json file will be created for you in the directory on the first run of the bot.
  • Note that dependencies are included in the requirements.txt file.
    • You can install these automatically by running pip install -r requirements.txt when in the directory.

Libraries

Discord.py

Made using Discord.py. (Github)

Weather.gov API

Weather provided by the weather.gov API. Using this wrapper.

OpenStreetMap API

Geocoding for weather provided by the OpenStreetMap API and Nominatim. Using this wrapper.

BetterTwitFix

Uses BetterTwitFix by default to fix Twitter/X URLs.

VixBluesky

Uses VixBluesky by default to fix Bluesky URLs.

vxtiktok

Uses vxtiktok by default to fix TikTok URLs.

InstaFix

Uses InstaFix by default to fix Instagram URLs.

fxreddit

Uses fxreddit by default to fix Reddit URLs.

Roadmap/Todo

  • 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

About

Just a fun lil Discord bot. Features include: sending reminders, which are backed up in a JSON file, sending the weather (in the US), and other dumb stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages