13 Commits

Author SHA1 Message Date
Slipstreamm
a2eb6f33f1 refactor(welcome): Consolidate info displays in welcome/goodbye messages
Group related member information and server statistics into single
TextDisplay components. This streamlines the UI layout, reduces the
number of elements, and potentially improves rendering efficiency.
2025-06-14 14:14:19 -06:00
Slipstreamm
aa43302903 fix(welcome): Log specific ValueError message
Include the specific error details from ValueError when logging issues in the
welcome message process, making debugging easier.
2025-06-14 14:06:45 -06:00
Slipstreamm
a7cb48e10b refactor(welcome): Consolidate welcome and goodbye message sections for improved layout 2025-06-14 14:03:23 -06:00
Slipstreamm
6066898daf feat(welcome): Enhance welcome and goodbye messages
Welcome and goodbye messages now use a more detailed LayoutView with sections for member info, server statistics, and dynamic styling.
- Welcome messages display total server members and the new member's account age.
- Goodbye messages show current member count, the leaving member's join date and time in server, with dynamic colors and titles for leave, kick, and ban events.
- All command feedback for welcome/goodbye configuration, testing, and error handling has been updated to use rich Discord Embeds for improved user experience.
2025-06-14 13:58:24 -06:00
Slipstreamm
4778237089 refactor(welcome): Remove disable_goodbye error handler
Removes the dedicated error handler for the `disable_goodbye` command.
This allows for more centralized or general error handling to take over.
Adds a log message when the WelcomeCog is successfully loaded.
2025-06-14 13:40:54 -06:00
Slipstreamm
8ac8ddb4b3 refactor(welcome): Adjust shared command error handlers 2025-06-14 13:37:23 -06:00
Slipstreamm
db5c171c11 refactor(welcome-cog): Use cog-wide error handler
Migrates individual command error handlers to the cog-wide `cog_command_error` method. This simplifies error handling by automatically catching errors from all commands within the cog.
Adds `ephemeral=True` to error messages sent to the user and logs the `original_error` for better debugging.
2025-06-14 13:35:30 -06:00
Slipstreamm
4c17db72a8 feat(welcome): Enhance welcome and goodbye messages
Integrate `discord.ui.LayoutView` to provide richer, more structured welcome and goodbye messages with user avatars and accent colors.

The `on_member_remove` event now utilizes audit logs to determine if a member was kicked or banned, providing more context in goodbye messages.

Add `testmessage` command group with `welcome` and `goodbye` subcommands to allow administrators to easily test message configurations.

Replace development-time `print` statements with standard `logging` for cleaner output and better debugging.
2025-06-14 13:31:35 -06:00
d1ec42fa51
big ass formatting 2025-06-05 21:31:06 -06:00
39ef4cd5e8
a 2025-05-06 19:19:59 -06:00
05a180c2d5
aa 2025-05-06 18:03:55 -06:00
2ec585ff81
aa 2025-05-04 21:20:13 -06:00
5c3f0b9810
hh 2025-05-03 13:47:49 -06:00