1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:23:12 +00:00
Commit graph

396 commits

Author SHA1 Message Date
0cfcfb8b29 Lots of refactoring 2024-08-14 07:36:12 -04:00
bbec1a2622 Fix small issue 2024-08-14 07:05:03 -04:00
f2224689ca Refactor moderation module 2024-08-14 06:51:07 -04:00
05561495ab Refactor birthday module 2024-08-14 05:44:39 -04:00
055c64243c Refactor all admin command outputs 2024-08-14 04:02:47 -04:00
1baa0fa6c8 Refactor moderation module 2024-08-14 03:08:09 -04:00
070e669959 chore: Update moderation module to use discord.Member instead of discord.User 2024-08-14 03:01:18 -04:00
d1aab80374 chore: Update prefix retrieval logic to handle guild and bot DM contexts 2024-08-12 06:27:52 -04:00
cf218c4e4d Upgrade to Pycord 2.6 2024-08-12 04:21:53 -04:00
9d3f4df03f Allow mentions as a prefix and add sync command 2024-08-12 03:35:37 -04:00
b28c809d8f chore: Add bot permissions check to timeout and untimeout commands 2024-08-08 05:21:27 -04:00
981d3b0373 feat: Add delete_message_seconds parameter to ban_user function 2024-08-08 05:17:07 -04:00
8fc29d6e36 Add softban command to moderation module 2024-08-08 05:16:32 -04:00
b256a13fd7 chore: Remove outdated guide URLs and help messages 2024-08-06 06:30:07 -04:00
785d4ce10e chore: Add kick command to moderation module 2024-08-06 04:15:29 -04:00
b511b6900f Refactor help command outputs 2024-08-05 05:53:34 -04:00
94d7320e25 chore: Refactor code to remove unused NotAllowedInChannel exception and associated checks 2024-08-05 05:27:25 -04:00
4842c41b0a chore: Update mod-log channel configuration and add info embed 2024-08-04 13:39:06 -04:00
33ef6732ca chore: Update image URL validation in boost module configuration commands 2024-08-03 14:55:18 -04:00
b68a8f1177 chore: Update module configuration commands and imports 2024-08-03 14:50:01 -04:00
882fe41b8e chore: Add prefix configuration commands 2024-08-03 14:47:32 -04:00
0e962c8140 chore: Add moderation module configuration commands 2024-08-03 14:41:23 -04:00
c94f7d0d5a chore: Update error messages for invalid image URLs 2024-08-03 14:33:10 -04:00
9a08d346c5 chore: Update birthday, welcome, boost, and level module configuration commands 2024-08-03 14:27:42 -04:00
23d59175e1 chore: Update welcome template and boost module configuration commands 2024-08-03 14:24:55 -04:00
d5c8d56341 chore: Add birthday module configuration commands 2024-08-03 13:51:44 -04:00
50da9fcf24 chore: Add birthday module configuration commands 2024-08-03 13:33:01 -04:00
c009fd5412 chore: Update config show command to display server configuration options 2024-08-03 13:08:53 -04:00
86bac2535b chore: Update case embed to include duration for timed actions 2024-08-03 04:03:52 -04:00
a794047ef3 chore: Update timeout.py to handle exceptions in untimeout_user function 2024-08-03 03:53:13 -04:00
8d4c536846 chore: Add timeout and untimeout commands for user moderation 2024-08-03 03:51:34 -04:00
e7a891866c chore: Refactor actionable function to use async/await for better performance 2024-08-02 05:53:34 -04:00
54449e0af2 chore: Refactor actionable function to use LumiException for error handling 2024-08-02 05:45:47 -04:00
a2733db532 feat: Add warn command for user moderation 2024-08-02 05:25:10 -04:00
39559d54f1 Merge branch 'main' into moderation 2024-08-01 09:53:09 -04:00
90ae4761c1 Merge branch 'moderation' of https://github.com/wlinator/luminara into moderation 2024-08-01 09:36:20 -04:00
6ec3bb0762 Improve code 2024-08-01 09:26:57 -04:00
e27037325e Change metadata to consts 2024-07-19 15:23:45 -04:00
572274b6a0 refactor: Apply sourcery tips 2024-07-19 14:18:44 -04:00
50e11e7188 Edit case modlog on '.ec' 2024-07-19 08:16:09 -04:00
01daba06a1 refactor: Update create_case function to include modlog channel logging 2024-07-19 08:03:35 -04:00
24a2f124e5 refactor: Make timestamp an optional parameter 2024-07-19 08:00:19 -04:00
9622e5a0ff refactor: Update case creation embed fields with dynamic values 2024-07-19 07:58:57 -04:00
17b4816fe9 refactor: Update case creation embed fields with dynamic values 2024-07-18 16:32:07 -04:00
5b016f9142 refactor: Update moderator_cases_command to view all cases by a specific moderator 2024-07-18 16:02:48 -04:00
1921befb8a refactor: Update paginator initialization in view_all_cases_in_guild 2024-07-18 15:55:46 -04:00
1ff45076bf refactor: Update case creation embed fields with dynamic values 2024-07-18 15:31:08 -04:00
f9af002244 refactor: Update case creation embed fields with dynamic values 2024-07-18 15:06:12 -04:00
8823e9eb2a refactor: Add error message for case not found 2024-07-18 12:24:57 -04:00
509304ae28 refactor moderation commands 2024-07-18 12:14:26 -04:00
47fc88cc86 feat: Update case creation embed fields with dynamic values 2024-07-18 11:59:40 -04:00
b1200bc0ab First case implementation 2024-07-18 11:26:36 -04:00
4488111b28 Sort all imports 2024-07-17 08:01:12 -04:00
67c423fc7e Refactor: Code cleanup and consistency 2024-07-17 07:47:26 -04:00
6d85960fca Refactor interaction.py and config/__init__.py for code cleanup and consistency 2024-07-17 07:37:40 -04:00
e9bb5814fa refactor: Improve embed formatting on .daily 2024-07-17 07:26:53 -04:00
10a45dd85c chore: Update pyproject.toml with python-dotenv and pyyaml dependencies 2024-07-16 15:53:42 -04:00
3401566ebf chore: Update help command to use Lumi's prefix for getting help 2024-07-14 14:20:29 -04:00
4068b0200f Refactor Levels cog to use type hints in __init__ method 2024-07-14 13:58:57 -04:00
dd2dc117bf Refactor code to add JuicyBblue art assets 2024-07-14 13:57:48 -04:00
96a6100444 Refactor rank command to remove unnecessary mention in response 2024-07-14 13:31:04 -04:00
ee95e8be5e Refactor leaderboard command to use EmbedBuilder for consistent styling 2024-07-14 13:06:49 -04:00
5b41aebb00 Refactor rank command to use bridge.Context instead of commands.Context 2024-07-14 12:12:15 -04:00
9d3524186a Use EmbedBuilder in the rank command. 2024-07-14 11:07:15 -04:00
6b1722c253 Change completed introduction footer 2024-07-13 22:32:52 -04:00
8dd196ba4a Refactor ping command to use separate module for ping functionality 2024-07-13 22:25:07 -04:00
f6d6ceea3d Refactor backup module to improve error handling and use constants for environment variables 2024-07-13 21:58:02 -04:00
8cd3f10330 chore: Refactor backup module to use constants for environment variables and improve error handling 2024-07-13 21:39:56 -04:00
206e9674ff Refactor introduction command to use EmbedBuilder for error messages 2024-07-13 21:07:43 -04:00
ff1efdbc30 CHORE 2024-07-13 20:46:23 -04:00
bbfc0bfd47 Optimize 2024-07-13 20:44:35 -04:00
ec23f80247 Refactor introduction command to use EmbedBuilder for error messages 2024-07-13 20:39:48 -04:00
6de96e2a85 chore: Refactor introduction command to use EmbedBuilder for error messages 2024-07-13 20:23:30 -04:00
7cc81d13f4 Refactor xkcd module to use EmbedBuilder for printing comics 2024-07-13 20:11:50 -04:00
7da002ac4f Refactor code for emoji conversion and reaction handling 2024-07-13 14:51:43 -04:00
370e3f1471 Refactor invite command to use EmbedBuilder and constants for link 2024-07-13 10:39:47 -04:00
2b81f55952 Refactor xkcd module to use EmbedBuilder for printing comics 2024-07-13 10:32:23 -04:00
1998afe20b Refactor ban and unban commands to allow None as reason 2024-07-12 13:42:44 -04:00
433cf6939e chore: Refactor code for emoji conversion and reaction handling 2024-07-12 13:42:06 -04:00
7f798c779a Add delete and list custom reaction command 2024-07-11 13:34:08 -04:00
4c2206a99e Refactor guild-specific configuration in resources.json 2024-07-11 12:47:57 -04:00
4ffcf473ae Add and remove custom reactions with commands 2024-07-11 12:47:46 -04:00
7e2a5c18a6 Add .blacklist command. 2024-07-08 21:50:07 +02:00
2ba645fac5 Refactor typing import in introduction.py 2024-07-08 20:20:58 +02:00
c48e29f751 Refactor introduction command error handling 2024-07-08 19:31:47 +02:00
cd364081d9 Refactor '/introduction' code for improved efficiency and readability 2024-07-08 19:30:05 +02:00
db45dc4ba6 Refactor '/introduction' code for improved efficiency and readability 2024-07-08 19:22:17 +02:00
9b0451a05b Remove image from info command 2024-06-21 22:00:31 +02:00
884833b535 Replace all logging 2024-06-21 21:58:42 +02:00
5935e47808 Add avatar command 2024-06-21 21:36:59 +02:00
8e40c6efe3 Switch to loguru for logging 2024-06-20 20:57:45 +02:00
4cea4eb426 Cleanup 2024-06-20 19:48:49 +02:00
76369d5110 Turn birthdays back into slash-command only & clean up 2024-06-20 13:39:33 +02:00
af0623a291 Add cooldown back to lb command 2024-06-20 13:08:01 +02:00
321efc1019 Fix leaderboard output to always show 5 members 2024-06-20 13:06:56 +02:00
7185e734a7 Rename some things to make more sense 2024-06-20 12:56:07 +02:00
f8f663985c Fix file naming consistency 2024-06-20 12:34:03 +02:00
f7e37af9ca Add .deletebirthday command 2024-06-19 21:07:49 +02:00
da9ae6d807 Allow xkcd command everywhere and clean up 2024-06-16 20:40:39 +02:00
b68dcf8cf4 Add xkcd commands 2024-06-16 20:33:01 +02:00
c2e8bcd434 Change env vars to new name 2024-06-16 01:27:15 +02:00
2d1490c0ae Rename to Lumi 2024-06-16 00:45:24 +02:00
58b728d7b7 Fix major economy bug in .give
This fixes a bug where people could give unlimited money to someone by prefixing a huge amount with '-'.
2024-05-09 19:40:03 -04:00
6715aef689 Remove "author" from the info command 2024-05-02 06:09:32 -04:00
0a84612fc6 Fix .config output and whitespace in default boost announcement 2024-04-26 09:02:20 -04:00
543d9fbc47 Add the option to choose the booster image 2024-04-26 08:54:08 -04:00
9cc6497a55 Add boost info to .config 2024-04-26 07:23:17 -04:00
94e1a7c288 First boost test push 2024-04-26 07:13:58 -04:00
a358113df1 Fix env var issue 2024-04-15 19:19:48 +02:00
f78a405dbb Set environment variables with Docker Compose 2024-04-13 17:38:01 +02:00
4d6133485b Add channel check to .invite and .info 2024-04-12 12:20:34 +02:00
48dea2b985 Rename admin cog 2024-04-12 12:20:25 +02:00
19f05cd637 Change even more help descriptions 2024-04-12 12:16:37 +02:00
3d74ebbc08 Change help descriptions for config commands 2024-04-12 03:12:50 +02:00
85cc4155bd Change a bunch of help descriptions 2024-04-12 03:07:48 +02:00
016cd601f7 Remove the channel check on /help 2024-04-12 02:35:55 +02:00
e2f6fe68b9 Change the output of the help command 2024-04-12 02:31:39 +02:00
f469ef1dd7 Replace wiki links 2024-04-07 08:43:23 -04:00
e1c0a5f595 Format code 2024-04-05 08:06:44 -04:00
425d5de205 Fix small bug that happens when a server owner tries to ban himself 2024-04-05 07:54:49 -04:00
0cce28c36c Display error in .xpr if role not found 2024-04-04 13:32:34 +02:00
25bbb63b0b Sort rewards in .xpr only once 2024-04-04 13:28:09 +02:00
8d6a3ff2c3 Optimize code and place XpRewardService in XpService file 2024-04-04 13:03:51 +02:00
5d857fdf95 Merge remote-tracking branch 'origin/dev' into dev 2024-04-04 11:26:26 +02:00
ce631052fe Limit XP rewards to 10 per guild 2024-04-03 20:46:45 +00:00
61a98420e5 Make persistence optional 2024-04-03 14:20:23 -04:00
edec8678c3 Change give help info 2024-04-03 13:51:09 -04:00
56274a7bb0 Role Reward Fixes 2024-04-03 13:48:22 -04:00
248af15fc9 Implement in XpHandler 2024-04-03 12:06:03 -04:00
625ee06d12 Merge remote-tracking branch 'origin/dev' into dev 2024-04-01 11:38:56 +02:00
8cca12b29c Code clean-up 2024-03-29 13:17:51 -04:00
37008b685a Add shorten() to lib.formatter 2024-03-29 13:15:42 -04:00
9c79db5ec3 Fix a bunch of error outputs 2024-03-29 13:11:36 -04:00
243bad0e53 Improve Error Handling 2024-03-29 07:14:41 -04:00
2e760a7d7a Temporarily remove cog error handling for moderation. 2024-03-28 16:29:04 -04:00
496350391f Small changes to mod error 2024-03-28 16:05:58 -04:00
9378436888 Add .unban 2024-03-28 14:41:37 -04:00
00ac70e427 .ban: add help string and fix reasons 2024-03-28 14:12:49 -04:00
14c292d6c7 Add ban command 2024-03-28 10:32:12 -04:00
12bd79d5ee Merge remote-tracking branch 'origin/dev' into dev 2024-03-27 20:22:14 +01:00
64bcb24385 Move art URLs to art.json 2024-03-26 20:39:23 +01:00
a98f26a370 Remove moderation and say modules
They weren't enabled anyway.
2024-03-26 16:35:40 +01:00
c64f83bf4f Disable .inventory command for now
Items can't be obtained or sold, so the inventory command has no use.
2024-03-26 16:33:38 +01:00
3e9995902f Remove sell command 2024-03-26 16:32:13 +01:00
4e0b2c6749 Remove economy_functions.py 2024-03-26 16:28:50 +01:00
80a2b0f927 Update .info command 2024-03-26 15:34:11 +01:00
c911abae23 Update .info command 2024-03-26 15:29:53 +01:00
1187d93735 Add stats command 2024-03-26 13:42:30 +01:00
c58b0dfcf3 Temporarily disable stats command 2024-03-26 12:52:23 +01:00
01b0407898 Fix .award command 2024-03-26 11:13:48 +01:00