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

18 commits

Author SHA1 Message Date
3a9a225d32 chore: Update settings.py 2024-09-05 03:26:11 -04:00
kzndotsh
c3bb4443df feat: add example settings.yml file to provide a template for configuration settings 2024-08-22 01:44:37 +00:00
kzndotsh
829762d8d1 chore: switch from JSON to YAML for configuration file
feat: add pyyaml to dependencies to parse YAML files
fix: remove unused LOG_CHANNELS constant from constants.py
refactor: add default values for environment variables in constants.py
feat: ignore YAML configuration file in .gitignore
refactor: delete unused JSON example configuration file
2024-08-22 01:44:00 +00:00
electron271
f323f1a35d
perm system part 1 2024-07-29 11:45:22 -05:00
kzndotsh
464a23af8e feat(settings.json): add PERMISSION_LEVELS object to manage user permissions more effectively
docs(PERMISSIONS.md): add new documentation file explaining the permissions management system
refactor(schema.prisma): simplify GuildConfig model by removing unnecessary fields and adding permission level roles fields for better permissions management

feat(config.py): add ConfigSelectMenu and ConfigSelectView classes for guild role configuration
refactor(config.py): replace individual role setting commands with a single command using the new classes
chore(config.py): comment out old role setting commands for reference, to be removed in future commits

refactor: consolidate channel setting commands into a single command for better maintainability
feat: add a new command to set all roles and channels using a select menu for improved user experience

feat: add role configuration options for different permission levels

This commit introduces the ability to configure roles for different permission levels (0-9) in the application. This allows for more granular control over user permissions and enhances the flexibility of the role management system.

refactor(client.py): conditionally set log_queries based on DEBUG constant for better control over logging in different environments

refactor(guild_config.py): simplify method and variable names for readability and maintainability
style(guild_config.py): improve code formatting for better readability

refactor(guild_config.py): simplify variable names by removing redundant 'guild_' prefix
chore(guild_config.py): comment out unused methods to improve code readability and performance

refactor(guild_config.py): simplify field names for better readability and consistency
feat(guild_config.py): comment out unused role retrieval methods to improve performance
chore(guild_config.py): add commented out code for future permission level roles feature

fix(main.py): uncomment debug related imports and function calls to enable debugging
feat(constants.py): change default value of DEBUG constant to True to enable debugging by default
2024-07-27 20:21:24 +00:00
kzndotsh
3801d2923c fix(settings.json): update ACTIVE_CASE and INACTIVE_CASE image URLs to correct location
docs(cases.py): add docstrings to methods for better code understanding
style(cases.py): refactor method parameters to multiline for better readability
style(query.py): change usage instruction from <search_term> to [search_term] to indicate optional parameter
2024-07-26 14:07:03 +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
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
kzndotsh
7925a3cecc refactor(settings.json, constants.py): simplify and rename EMBED_STATE_COLORS and EMBED_STATE_ICONS to EMBED_COLORS and EMBED_ICONS respectively for better readability
feat(constants.py): add TOKEN, PREFIX, COG_IGNORE_LIST constants to handle environment specific variables for better code maintainability
style(constants.py): remove unused UNICODE and EMOJIS constants to clean up the code
fix(settings.json): update EMBED_COLORS and EMBED_ICONS values to reflect the latest design changes
2024-07-13 19:25:16 +00:00
kzndotsh
aa9a30ad20 refactor(.env.example, settings.json, cog_loader.py, main.py): rename STAGING to DEV for better clarity
feat(settings.json): add new configuration options for roles, channels, embed colors, icons, unicode, emojis
feat(random.py): add new 'Random' cog with coinflip, 8ball, dice, randomnumber commands for fun user interactions

refactor(constants.py): move hardcoded values to config file for better maintainability
feat(constants.py): add support for DEV environment variables for development mode
fix(sentry.py): change environment setup to support new DEV and PROD constants for better environment handling
2024-06-16 16:15:05 +00:00
yaboytabby
97cb963db5 update purge.py 2024-04-01 17:20:22 -05:00
yaboytabby
f67d83a0a5 change how purge.py grabs permissions and begin using a json file for configuration 2024-04-01 06:53:25 -05:00
kzndotsh
52d05ec3be [Feat] Role Count command 2024-03-22 09:04:35 -04:00
kzndotsh
355dcb4f90 [Feat] Minimal ban and kick command 2024-03-12 01:07:04 -04:00
jwe66
7ccb531c50 [docs][logs] fixed logging and settings.ini file 2024-01-13 20:51:06 -05:00
kaizen
67aed8e897 [Fix] CommandCog references in remaining commands 2024-01-13 20:25:55 -05:00
jwe66
bc9b3d5588 [Feat][Tested] Added CommandCog and Permmissions Class. Working Permissions and settings.ini files 2024-01-13 20:01:14 -05:00
jwe66
c683fb9ee7 [Feature][Tested] Basic Settings Parser and Example .ini File
Added a basic settings parser and an example settings.ini file.
2023-12-12 00:51:41 -05:00