1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
Commit graph

34 commits

Author SHA1 Message Date
Kasen Engel
01b18a8ec1 added donor roles 2024-09-10 06:31:02 -05:00
kzndotsh
1df9994a44 assets: add avatar.png 2024-09-08 02:23:55 -04:00
electron271
65d426a326
Merge pull request #457 from exvh/main
image update
2024-08-25 10:41:28 -05:00
kzndotsh
8e3d8cdc66 feat(emojis): add new snippetban and snippetunban emojis
feat(setup.py): add new Setup class for server setup
refactor(moderation): move handle_case_response method to ModerationCogBase class for code reusability
fix(moderation): replace async create_embed method with synchronous one
feat(moderation): add support for case handling in ban command
feat(cases.py): update snippetban and snippetunban emoji ids
refactor(cases.py): replace async create_embed method with synchronous one

refactor(jail.py, kick.py): remove redundant code and simplify jail and kick commands
feat(jail.py, kick.py): improve error handling and logging for jail and kick commands
style(jail.py, kick.py): improve code readability and maintainability by removing unnecessary imports and functions

refactor(snippetban.py, snippetunban.py, timeout.py): simplify case handling logic and error handling
feat(snippetban.py, snippetunban.py): add reason parameter to usage and make error messages ephemeral
fix(timeout.py): move send_dm call after successful timeout to ensure user is notified only when action is successful

refactor(unban.py, unjail.py): simplify unban and unjail commands by removing redundant code
feat(unjail.py): add error handling for missing jail role or jail channel
fix(unjail.py): ensure atomicity when removing jail role and adding previous roles to prevent partial role assignment

refactor(untimeout.py, warn.py): remove redundant code and simplify case response handling
fix(untimeout.py, warn.py): move send_dm call to after timeout/warn action to ensure it's sent after action is successful
2024-08-25 08:53:50 +00:00
exvh
7805c7d064
Add files via upload 2024-08-25 00:08:25 +02:00
exvh
109199eb73
Delete assets/roles/text-editors/ed.png 2024-08-25 00:08:12 +02:00
kzndotsh
20680eb502 chore: move docs/resources to assets/branding 2024-08-21 21:55:44 -04:00
lilyyllyyllyly
7a49694b77 Change LFS role icon 2024-08-18 02:06:48 -03:00
kzndotsh
353a4b7759 feat(emojis): add new tux_notify and tux_tag emojis for better visual representation
feat(event.py): add on_thread_create event handler to notify in general chat when a new support thread is created, improving user engagement and support efficiency
2024-08-17 23:16:32 +00:00
Kasen Engel
e09860de0a added improved vanillaOS logo 2024-08-06 21:03:13 +00:00
kzndotsh
31597e452a feat(pre-commit-config.yaml): update ruff-pre-commit version to v0.5.5 for latest features and bug fixes
feat(settings.json): add new image URLs for various case statuses to enhance visual feedback
refactor(cases.py): improve code readability by adding parameter descriptions and breaking down long function calls
feat(cases.py): add active and inactive case icons to embeds for better visual distinction between case statuses
2024-07-25 19:24:41 +00:00
kzndotsh
dd9cff006f chore: remove unused pagination.py file from .archive directory
feat: add new emoji assets for active_case, added, ban, inactive_case, jail, kick, removed, timeout, warn
feat(pyproject.toml): add reactionmenu package to project dependencies
refactor(ban.py): update usage instruction for ban command and remove unnecessary line after ban execution

feat(moderation/cases.py): add new moderation cases management feature
feat(reactionmenu/__init__.pyi): add new reactionmenu library for discord pagination

The moderation cases management feature allows for viewing and modifying moderation cases in the server. The reactionmenu library supports pagination with buttons, reactions, and category selection using selects.

feat(tux/stubs/reactionmenu/abc.pyi): add new stub file for reactionmenu module

This commit adds a new stub file for the reactionmenu module in the tux library. This will help in providing type hints and autocompletion for the reactionmenu module in IDEs that support Python type hints.

docs: add detailed docstrings to methods and properties in the menu class

This commit adds detailed docstrings to all methods and properties in the menu class. The docstrings include information about the purpose of each method/property, the parameters they accept, the return type, and any exceptions they might raise. This will make it easier for developers to understand how to use the menu class and what each method/property does.

feat: add set_relay and remove_relay methods in the code to handle button press events
docs: add comprehensive docstrings for set_relay and remove_relay methods explaining their functionality, parameters, and exceptions

feat(buttons.pyi): add new type stub file for reactionmenu/buttons.py to provide type hints and improve code readability and maintainability

feat: add ReactionButton class and related methods

This commit introduces the ReactionButton class, which represents a reaction in the ReactionMenu. It includes several methods for setting button details, generating skip buttons, and factory methods for creating specific types of buttons. This enhancement provides a more structured and flexible way to manage reactions in the ReactionMenu.

feat(core.pyi): add new file for ReactionMenu class with methods and properties
docs(core.pyi): add docstrings for ReactionMenu class, methods, and properties to improve code readability and provide usage information

feat: add multiple overloads to start method in ReactionMenu class to support various types of send_to parameters
docs: add comprehensive docstring to start method explaining its parameters, their types, and possible exceptions raised

feat(tux/stubs/reactionmenu): add decorators.pyi and errors.pyi stub files for better type checking
docs(decorators.pyi, errors.pyi): add MIT license and function/class descriptions for better understanding of the code

feat(reactionmenu): add new file views_menu.pyi for type hinting and better code intelligence

feat: add methods to manage menu items in ViewMenu class

- Add methods to add, remove, enable, disable, and get select items
- Add methods to add, remove, enable, disable, and get go to select items
- Add methods to add, remove, enable, disable, and get button items
- Add methods to update menu, randomize button styles, set button styles, and refresh menu items
- Add methods to stop and start the menu
- These changes provide a comprehensive interface for managing menu items in the ViewMenu class.

docs: Add comprehensive docstring to the start method in the menu class

This commit adds a detailed docstring to the start method in the menu class. The docstring includes a description of the method, its parameters, and the exceptions it raises. This will improve code readability and provide better understanding for developers working with this method.

refactor(flags.py): replace default "No reason provided" with MISSING for better error handling
style(flags.py): rename flag names for better clarity and understanding
feat(flags.py): add new class CaseModifyFlags to handle case modifications
2024-07-25 15:04:44 +00:00
Kasen Engel
d656e809d6
add dart icon 2024-07-17 22:43:40 -05:00
kzndotsh
7923bbc84f feat(emojis): add new tux_prefix.png file to provide a new emoji for the bot
fix(settings.json): change DEV prefix from "~" to "$" to unify command prefixes across environments
refactor(run.py): remove unnecessary return type comments and update usage instruction for better clarity
refactor(help.py): improve help command output by including command prefix and improving formatting
chore(main.py): remove unnecessary TODO comment, as the issue has been addressed
2024-07-16 18:59:09 +00:00
Kasen Engel
b68480038e add vala 2024-07-16 11:31:06 -05:00
Kasen Engel
f7fe0cd177 tweaks (the sequel) 2024-07-16 11:24:50 -05:00
Kasen Engel
2e00e71ca6 tweaks 2024-07-16 11:21:54 -05:00
Kasen Engel
ddc0f29d9a fixed logos 2024-07-16 10:38:42 -05:00
Kasen Engel
a02829037b Added some missing logos and fixed some messy ones 2024-07-16 10:24:38 -05:00
Kasen Engel
9ca86021c3 added all the lang icons 2024-07-15 23:39:27 -05:00
Kasen Engel
9c847875e7 remove junk file 2024-07-15 19:35:50 -05:00
Kasen Engel
5a4be9d278 adding De/Wm icons 2024-07-15 19:35:21 -05:00
kzndotsh
dc3c98654c
Merge pull request #313 from allthingslinux/new-role-icons 2024-07-13 23:44:00 -04:00
FluxC0
5445bba461 text editor role icons added 2024-07-13 07:34:18 -05:00
FluxC0
1be6cc3951 ALL THE DISTRO ICONS ARE COMPLETE! YAY! also updated macos 2024-07-12 12:43:15 -05:00
FluxC0
55fe9d803d add devuan 2024-07-11 17:47:10 -05:00
FluxC0
ecf2e739ff Make freeBSD smaller and add KISS 2024-07-11 17:41:18 -05:00
FluxC0
f81e99fe76 actually fixing name scheme (final)__real 2024-07-11 17:01:01 -05:00
FluxC0
0551ba5cee fix naming scheme 2024-07-11 16:45:38 -05:00
kzndotsh
2645bd7351 feat(assets): update distro logos for antix, mx, and redhat to provide more updated and visually appealing images 2024-07-11 17:26:03 -04:00
FluxC0
2efe4f5bc3 first batch 2024-07-11 16:21:03 -05:00
kzndotsh
cbafd221c5 feat(assets): add new distro icons for better visual representation of different operating systems 2024-07-11 14:31:52 -04:00
kzndotsh
b410e7d5c8 feat(assets): add new badges and emojis for user achievements and notifications
chore(assets): remove unused slicedsymbol images to clean up the assets directory
2024-07-11 17:38:59 +00:00
electron271
eb55cd679a
add assets to assets folder
TODO: properly name the symbols
2024-06-02 14:29:39 -05:00