As of September 2022 or so, Discord has radically changed how bots are allowed to interact on the platform - you can read about the implications of that on Sobbot's main library, discord.py, in a gist here. Unfortunately this means Sobbot is no longer functional, and would require a massive rewrite to restore any sort of functionality. I plan on keeping this repository up of course, but the project is effectively dead. Sobbot is no longer running, and will no longer receive any updates, unless I ever decide to fork into the new command format. I don't really agree with what Discord is doing here, and don't trust my work will be respected based on the recent command change, so unfortunately, this is the end of the road. Thank you to everyone who supported it and helped me test stuff - Sobbot was a huge inspiration for me and my first project of this size, and I hope to keep building cool stuff like this in the future. :)
-Lucas
Repository for Sobbot, a personal Discord bot. Sobbot is mainly a side project intended for me to gain experience using Python as an interface between Discord, Sobbot's logic, and various APIs, with a some smaller random features thrown in as well.
Sobbot started out as a small test project in using discord.py, but has quickly become my principal side project, showcasing what I feel is my best work to date. My aim is for Sobbot to resemble a full-featured Discord bot with proper input validation and error handling (ie. working as if it were a public-use bot). Despite its feature-crept feel, I try for the more trivial features to be remnants of me learning to work with a project of medium scale. Most of the features I add moving forwards are going to be much more complex in nature, meant to be developed like and feel like production-quality features.
Despite this, Sobbot is at its core my personal Discord bot. I don't intend for Sobbot to gain steam and become a popular bot - its API keys would quickly hit rate limits and it is very inconsistently online, however, you're more than welcome to use Sobbot's code as a starter for your own bot. Read the LICENSE for more info on this. Instructions for repurposing Sobbot's code as your own bot:
- Set up a bot on Discord's developer portal, and acquire its token.
- Create a file named .env in /bot, and paste
DISCORDTOKEN=yourTokenHere
.- You'll need to paste
RIOTTOKEN=yourTokenHere
in order to use Sobbot's Riot API features, however, this is optional.- Note that Riot is very strict about how their API keys are used, and you will need to use an ephemeral key unless your get your project approved.
- You'll need to paste
- Add your bot to a server using a bot link.
- Run bot/bot.py.
NOT RECCOMENDED: You may freely add Sobbot to any Discord server in which you have the Manage Server permission using this link.
Use s!help for a directory Sobbot's commands. Alternatively, use s!about for info on more niche features.
Sobbot's default prefix is s!, which can be changed using s!prefix yourprefixhere
.
This repository is not endorsed by, directly affiliated with, maintained, authorized, or sponsored by Nintendo. Use of any and all trademarked names in this product are not endorsed by Nintendo.
Sobbot isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.