Commit Graph

331 Commits

Author SHA1 Message Date
d372c41c98 big ass refactor to handle loading guilds and users without spring to make it more futureproof
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-07-01 01:12:32 +01:00
f566c3bcb5 add emojis to feature states
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 08:34:59 +01:00
6403c57db5 add checks for some events to see if the feature is enabled and more cleanup
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
2024-06-30 08:24:14 +01:00
22d4558d84 use an enum for feature states
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 08:10:49 +01:00
ea546f02ca cleanup features and move all misc commands into a base feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 48s
2024-06-30 08:00:03 +01:00
5b1ddb145f make feature command less ugly and update feature disabled message
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 07:41:31 +01:00
5ce5ef6898 format numbers on botstats command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 42s
2024-06-30 07:34:49 +01:00
729e0b482b update number formatter
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
2024-06-30 07:34:03 +01:00
5aa56c2955 rename feature command
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 5s
2024-06-30 05:16:00 +01:00
ee6456e4d8 add feature toggling
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
2024-06-30 05:15:37 +01:00
93350f1506 remove useless config option
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-30 04:16:49 +01:00
702aead53a cleanup dev mode
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 04:13:54 +01:00
b7f2b6a3d7 fix birthday date validation
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 03:47:34 +01:00
b66114503c fix npe
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-30 03:39:38 +01:00
50391e5344 add name history tracking
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-30 03:36:00 +01:00
91ecc9882c cleanup
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-30 02:36:17 +01:00
06a2584e63 fix migrations
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m9s
2024-06-30 01:03:10 +01:00
29affe2f12 update birthdays to have a view command and a private command to be able to hide your birthday
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
2024-06-30 00:35:52 +01:00
86c7afac42 many changes
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-29 22:38:53 +01:00
b0949d17e6 add skip spotify command and show song when pausing and resuming the song
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-29 21:36:45 +01:00
df44ae90b9 update member count command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-29 18:35:53 +01:00
4821e2a4fa add emojis to the spotify commands
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-29 16:54:39 +01:00
4cb34fbb9a add duck image command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-29 13:23:12 +01:00
d824f957fe add vote command 2024-06-29 13:23:05 +01:00
d2d898a5b8 disable spotify linking (until they accept out application)
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-29 13:08:13 +01:00
320eab34a3 Merge remote-tracking branch 'origin/master'
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m8s
2024-06-29 12:45:35 +01:00
433dfb4693 make linking and unlinking only viewable to the user for spotify commands 2024-06-29 12:45:16 +01:00
eb8408eb8f Fix NPE caused by default avatars + make MemberCountCommand message consistent 2024-06-28 15:32:46 -05:00
20905a7962 fix message
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 20:05:32 +01:00
827e1bed4f cleanup spotify
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-28 19:59:29 +01:00
f4d3752de7 fix image command category
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-28 19:53:49 +01:00
f737b7d571 merge cat, dog, and fox commands into 1
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 19:37:10 +01:00
dc18c9fe7a remove debug and change some command messages
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 19:23:37 +01:00
107ec43149 actually fix it
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 19:11:37 +01:00
e17c8a08c2 fix for sub commands since discord doesn't allow not showing them in dms
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 19:07:01 +01:00
fa205d7ff2 allow banner and avatar command to be global
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 19:03:02 +01:00
Lee
4fc3431213 Merge branch 'master' into master 2024-06-28 17:55:07 +00:00
ac7c94031a use name instead of ids for some logs
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-28 18:51:58 +01:00
f3e5116708 fix spotify command category
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 18:50:45 +01:00
087ab99b44 Merge branch 'master' into master 2024-06-28 09:26:34 +00:00
88b88633a7 fix botstats command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-28 04:05:41 +01:00
d77c937818 spotify is v silly!
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
2024-06-28 04:04:50 +01:00
bf554933cc pls
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 04:01:30 +01:00
6af78c7da1 pls
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 04:00:19 +01:00
31e81363ac pls
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 03:56:34 +01:00
e892dade1c add log for token refresh in spotify
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
2024-06-28 03:52:29 +01:00
eccd673db8 spotify debug
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-28 03:50:38 +01:00
7f58a84acf Merge branch 'master' into master 2024-06-28 02:27:31 +00:00
3af151d89a Revert quick fix 2024-06-27 21:24:55 -05:00
d088e2bf95 Add category to ChannelCommand 2024-06-27 21:15:27 -05:00
53b84a884c missing code param err
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 03:13:54 +01:00
d54d2ffe0d wording 2024-06-27 21:11:37 -05:00
bf6bd8080d add configurable redirect uri
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-28 03:05:36 +01:00
409e71a0aa Add FoxCommand 2024-06-27 21:04:21 -05:00
2dc04394fe cleanup 2024-06-28 03:01:41 +01:00
fa10cf2019 add spotify feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m10s
2024-06-28 03:01:21 +01:00
9a1d011ff2 Add ChannelCommand with topic sub commands 2024-06-27 20:41:38 -05:00
bd3774fab0 Remove ServerIconCommand 2024-06-27 19:59:59 -05:00
34d92d7bf8 Ember -> Bat 2024-06-27 19:58:09 -05:00
886755cd40 Add BannerCommand and add guild + user sub commands to AvatarCommand 2024-06-27 19:57:42 -05:00
306edf7017 Add MemberCountCommand 2024-06-27 19:25:33 -05:00
b34b628613 Add ServerIconCommand 2024-06-27 19:22:17 -05:00
5c7a067f7a use expiring map for guild and users
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 23:51:40 +01:00
63fbe27754 check if the guild is valid before getting it
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-27 21:34:31 +01:00
f0cc859585 oops! actually save the AFK status
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
2024-06-27 21:30:09 +01:00
e05e08c291 fix bot not loading when admin guild is null
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 21:25:06 +01:00
ff5b83f531 fix help command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 42s
2024-06-27 21:21:56 +01:00
deb656086a fix admin cmds
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-27 21:14:45 +01:00
a7dc517a36 fix premiumadmin command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-27 21:12:31 +01:00
73e4b58695 add premium to guilds and re-enable the global commands that are supposed to be global
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-27 21:05:54 +01:00
2c6dcc08cd cleanup missing permission message and check if the user has permission to give the role when adding a new auto role
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-27 19:48:15 +01:00
f062fa21c3 cleanup commands
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
2024-06-27 19:36:52 +01:00
3d39fd9784 fix auto role list title
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-27 17:40:21 +01:00
2c5c1ecc41 cleanup home command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 17:38:28 +01:00
406d6b7164 cleanup and acc country flag to ss me and user command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 16:30:47 +01:00
50b921c66d make the help command better
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 16:24:08 +01:00
a7c3e2d745 impl basic help command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 16:01:27 +01:00
175c8eba9f add cat and dog command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 14:45:08 +01:00
576f7b156d add afk feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 14:29:48 +01:00
0fc5e6514a add command execution log
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-27 13:36:03 +01:00
ecd688310f add fetch time for scoresaber me and user command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
2024-06-27 13:33:38 +01:00
001ece7899 update botstats command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-27 13:25:12 +01:00
4a7e7de6a2 add rate limit check for scoresaber api
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 13:13:37 +01:00
b50e30ffc5 add invite command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-27 13:11:58 +01:00
84dfe5a119 cleanup
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 34s
2024-06-27 13:02:55 +01:00
b36bdae5de add guild, user and scoresaber account caching
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 13:00:45 +01:00
d5ee54d011 don't use embed fields for botstats
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-27 11:45:06 +01:00
99570d6f86 add botstats command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m12s
2024-06-27 11:28:38 +01:00
6119da81bf in-mem cache
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-26 21:29:31 +01:00
52e5d50782 oops
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-26 20:42:47 +01:00
455c3f0bf1 fix a bug
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 17s
2024-06-26 20:41:31 +01:00
4d891e1825 remove caching until i can find a good solution
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 17s
2024-06-26 16:17:57 +01:00
805da78cad fix caching!
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-26 14:15:05 +01:00
3fc26583f2 re-add caching (featuring Redis!!!!!)
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
2024-06-26 14:05:51 +01:00
b3a5a4c02e fix wording 2024-06-26 13:13:27 +01:00
5d2d4cbf0f auto register event listeners
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-26 12:48:46 +01:00
6ac8012f47 fix some messages
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-26 12:41:18 +01:00
ef64b11907 added configurable message to birthdays
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-26 12:31:44 +01:00
6d593246e8 impl birthday feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-26 12:19:11 +01:00
e7159ad514 cleanup
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-26 11:11:13 +01:00
aec2fe1c2b add avatar command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
2024-06-26 02:46:27 +01:00
47beff752c fix guild and user caching
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m7s
2024-06-26 02:14:12 +01:00
61d96191cb remove debug
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-26 00:43:46 +01:00
bf12fb1914 fix dm commands fr this time
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-26 00:41:47 +01:00
33ff4686f3 jesus is within my soul
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 37s
2024-06-26 00:34:13 +01:00
ac760f84be cleanup commands and fix cmds in dms(???????)
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 41s
2024-06-26 00:31:16 +01:00
175dfde8f7 fix spacing
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
2024-06-25 19:35:50 +01:00
dcb125357e maybe this will fix user slash commands? who knows
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
2024-06-25 19:14:08 +01:00
f4439338f9 cleanup score embed and add thumbnail of the song art
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 18:53:09 +01:00
85405f5856 fix ex+ diff
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
2024-06-25 18:43:19 +01:00
0eb28e4dbc edit user feed messages
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
2024-06-25 17:20:19 +01:00
4c9e45f06b fix embed colors
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 16:50:23 +01:00
444089df02 fix embed colors
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 51s
2024-06-25 16:47:45 +01:00
055c8709f8 add check to see if the bot can give the role when adding a new role to the auto role list
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
2024-06-25 16:45:59 +01:00
e0fca911d9 cleanup commands
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 46s
2024-06-25 15:43:36 +01:00
519cb72c14 more embed cleanup
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 46s
2024-06-25 13:59:02 +01:00
0d1eb3089a add auto roles and clean up how embeds are made
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s
2024-06-25 13:55:54 +01:00
679143c331 cleanup profiles
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 16s
2024-06-25 12:36:40 +01:00
154eac28d1 add ping command
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 12:32:06 +01:00
a7f4a36c12 make #1 and userfeed commands guild only
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 12:18:07 +01:00
0f2c684300 add rotating presences
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 12:16:20 +01:00
e9422793cb add scoresaber #1 feed
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 11:55:26 +01:00
b37a30b0a3 cleanup how i add sub commands to the commands
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 11:19:51 +01:00
39c3d471c7 clean up scoresaber feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
2024-06-25 11:14:12 +01:00
aa6ab7d3d8 add a basic event system to clean up scoresaber score receiving
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m17s
2024-06-25 10:40:17 +01:00
c0ae0fc596 add scoresaber feed command and websocket impl
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 53s
2024-06-24 17:42:57 +01:00
b703f51868 impl ci
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
2024-06-24 15:45:53 +01:00
ac3529ed88 cleanup and finish the current scoresaber command args 2024-06-24 14:58:57 +01:00
82e241f6ac make the scoresaber main cmd show more data 2024-06-24 14:21:51 +01:00
0b176c3b2a much stuff 2024-06-24 13:56:01 +01:00
eeb09ee1fd first commit 2024-06-23 21:37:24 +01:00