My Public Projects.
Here's where I showcase (or list) my creations and random code snippets.
DuckBot - A Multipurpose Discord Bot.
One of my first projects, a discord bot with no real scope. I just threw a bunch of stuff as I kept exploring
how Python works, and getting familiar with it. It does your usual stuff like bans, logs, and whatever else
I felt like adding over the years. I encourage you add it to your server, and run the
Discord.py Scripts and Snippets.
I maintain* a handful of snippets and code examples for the discord.py library, an API wrapper for discord. I've created these over the years, simply for them to be shared in the discord.py server, where I am staff.
- cli_entrypoint.py - Shows how to use an extremely basic CLI entrypoint for a python script. In this case, for syncing a bot's slash commands to discord.
- mentionable_tree.py - A subclassed CommandTree that implements methods for fetching an AppCommand's mention via name, or by passing a command instance.
- async_cooldown.py - A cooldown decorator for message commands that allows for coroutine functions to be passed as the bucket.
- multiple_concurrencies.py - An example on how to use multiple commands.MaxConcurrency for a single command.
*I don't actually use some of these, but I will fix bugs if someone tells me. If you happen to spot an issue, leave a comment (or better yet- join my Discord or the discord.py server and ping me! Don't worry, I don't bite lol)