1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
tux/.archive
kzndotsh 1da76195c6 feat(bot.py): add new bot.py file to handle bot setup, cog loading, and event listeners
This new bot.py file includes the Tux class which extends commands.Bot. It handles bot setup, including database connection and cog loading, and includes event listeners for bot readiness and disconnection. It also includes a shutdown method to properly close connections and cancel outstanding tasks.

feat(rolecount.py): add new RoleCount cog to display number of users in each role
This new feature allows users to see the number of users in each role in the server. It supports distro, language, DE/WM, misc, and vanity roles. The role count is displayed in an embed with pagination support.

refactor(run.py): improve readability by breaking down function parameters into multiple lines
style(run.py): change usage from $run <code> to $run [code] for better command understanding
feat(tty_roles.py): add return type to setup function for better type checking
fix(ban.py): change icon_url from CASE to ACTIVE_CASE to reflect the correct case status
fix(ban.py): correct the case action from BAN to the actual action
feat(cases.py): add a check to ensure the slash command is used for this command
feat(cases.py): add total_cases to display the total number of cases in the case list
fix(cases.py): ensure the case reason and status are updated correctly
fix(cases.py): correct the icon_url to reflect the correct case status
fix(jail.py): change icon_url from CASE to ACTIVE_CASE to reflect the correct case status
fix(jail.py): correct the case action from BAN to JAIL
fix(kick.py): change icon_url from CASE to ACTIVE_CASE to reflect the correct case status
feat(purge.py): add support for discord.Thread in addition to discord.TextChannel
fix(purge.py): handle exceptions during message purging and provide a user-friendly error message

refactor(slowmode.py): modify slowmode command to accept discord.Thread in addition to discord.TextChannel for better functionality
fix(unban.py): remove unnecessary target parameter and replace with flags.username_or_id for more accurate unbanning
refactor(unban.py): change error handling to include discord.NotFound exception for better error management
style(unban.py, unjail.py): change icon_url from "CASE" to "ACTIVE_CASE" for better visual representation
refactor(unjail.py): simplify method call to get_last_jail_case_by_target_id for cleaner code

refactor(warn.py): simplify warn command structure to improve maintainability
feat(warn.py): add checks for self-warn, higher role warn, and owner warn to prevent misuse
style(warn.py): improve embed formatting for better readability
feat(membercount.py): add staff count to membercount command for more detailed server info
refactor(info.py, membercount.py, ping.py, case.py, main.py): remove unnecessary logger imports and usages for cleaner code
refactor(main.py): rename client.py to bot.py for better semantics
style(info.py): use discord.utils.format_dt for date formatting consistency

feat(flags.py): add aliases and default values to UnbanFlags
refactor(flags.py): swap positions of reason and status in CaseModifyFlags for better readability
feat(flags.py): add new WarnFlags class for handling member warnings
2024-07-26 18:28:18 +00:00
..
logging refactor(logging): remove unused code 2024-07-24 09:07:05 -04:00
tests chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
ban.py Refactor database models and clean up archive 2024-06-29 06:08:48 -04:00
bot.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
command_cog.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
console.py feat(console.py): add new console.py file to handle bot commands from console 2024-07-13 20:02:03 +00:00
ctx_error_handler.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
dependency-review.yml chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
emojistats.py Refactor database models and clean up archive 2024-06-29 06:08:48 -04:00
error_handler.py feat(ctx_error_handler.py): add new error handler for command context 2024-05-01 04:10:58 +00:00
ghost_pings.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
ghub.py feat(ghub.py): add new GitHub commands for discord bot 2024-04-18 07:08:03 +00:00
guide.py feat(guide.py): add new guide.py file to provide server guide functionality 2024-07-13 19:40:25 +00:00
guild.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
helpers.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
kaizen_ping_counter.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
kick.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
message.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
mod.py feat: add new mod.py and voice.py files in .archive directory for logging moderation and voice activities 2024-05-01 06:18:14 +00:00
neofetch.py style(neofetch.py, cog_loader.py, avatar.py, tldr.py): correct comment block formatting for consistency 2024-07-15 10:46:57 +00:00
notes.py Refactor database models and clean up archive 2024-06-29 06:08:48 -04:00
on_member_update.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
on_message.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
permissions.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
roles.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
settings.ini chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
test_error_handler.py feat(ctx_error_handler.py): add new error handler for command context 2024-05-01 04:10:58 +00:00
thread.py chore(structure) move tmp to .archive + create infra dir 2024-04-11 18:10:01 -04:00
timeout.py Refactor database models and clean up archive 2024-06-29 06:08:48 -04:00
tools.py feat(guide.py): add new guide.py file to provide server guide functionality 2024-07-13 19:40:25 +00:00
tux_logger.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
unban.py docs: update docstrings to follow numpydoc style guide 2024-07-15 09:42:09 +00:00
voice.py feat: add new mod.py and voice.py files in .archive directory for logging moderation and voice activities 2024-05-01 06:18:14 +00:00
warn.py Refactor database models and clean up archive 2024-06-29 06:08:48 -04:00