Commit Graph

128 Commits

Author SHA1 Message Date
99e1807097 changed how commands get invoked 2021-06-09 16:54:31 +01:00
e3f30ab085 disconnect command 2021-06-05 15:09:14 +01:00
a6b98cd450 check perms properly 2021-05-20 21:58:17 +01:00
0c97baabb6 added some extra logging 2021-05-12 14:07:09 +01:00
f237ad413d cache join sounds 2021-04-15 11:40:41 +01:00
900fe6a4f0 updated songbird. removed the track thing because it wasnt useful 2021-04-12 21:40:28 +01:00
29dd3532bb stop command now just stops audio. cleaned some code 2021-04-10 23:50:44 +01:00
d70f790b3d track how many sounds are playing in a channel 2021-04-10 20:06:10 +01:00
909e8e351a better help command 2021-04-10 18:16:42 +01:00
626c21f38d autoleaves again 2021-04-09 10:48:51 +01:00
11f388c65a guild data caching to stop querying db 2021-04-09 00:38:28 +01:00
0991d42525 serenity update 2021-04-05 11:55:06 +01:00
f24eba2e51 added a couple of ambience sounds 2021-03-27 17:56:15 +00:00
4be672aef6 automatically disconnect from empty channels 2021-03-16 10:49:15 +00:00
4f2b57a9b3 fixed playing greet on all voice actions 2021-03-15 23:38:05 +00:00
35b3cb81c9 ambience command seems to be working nicely now 2021-03-15 22:05:14 +00:00
a4919e45bf loop command 2021-03-15 15:03:15 +00:00
9e30529981 updated songbird to fix leak. corrected info message. corrected songbird registration 2021-03-15 11:01:07 +00:00
0eacf465a3 fix permission checks 2021-01-26 12:23:28 +00:00
1dc81837e0 registered all commands 2021-01-26 12:09:41 +00:00
0ea979a2b7 move to regex framework to hopefully reduce bad cpu load 2021-01-26 01:32:43 +00:00
d57e1d3ab1 renamed a function. removed name from guild 2021-01-26 00:35:51 +00:00
619678de36 join_channel method. configure to drop incoming packets 2021-01-23 23:26:21 +00:00
7466c3d75b updated everything 2021-01-22 17:19:57 +00:00
580bbb5105 autoleave empty voice channels 2020-11-13 14:26:06 +00:00
c92c0d2207 removed all autodisconnect code so that it can be redone at some point hopefully. 2020-11-11 18:21:45 +00:00
2737747f6e send correct shard guild counts 2020-10-24 12:48:32 +01:00
50fb419a19 corrected versioning. updated readme. removed client_id field from environment. now sends guild counts by shard. tagged info message with bot version 2020-10-24 11:15:17 +01:00
697d8aa9f1 ran cargo fmt over code. added kill_on_drop to ffmpeg to stop producing zombies 2020-10-16 15:47:06 +01:00
jude
6e6b0f6da7 changed serenity version down 2020-09-20 23:25:54 +01:00
jude
63b94a0113 changed where rwlocks lock 2020-09-07 12:04:10 +01:00
jude
5d57c19f62 changed mutex for rwlock. switched custom permission check for the serenity built in one. changed cargo.toml to use 0.9.0-rc.0 2020-09-03 14:52:19 +01:00
jude
bcdfe83cc6 updated to await_next branch 2020-07-23 15:34:25 +01:00
jude
1f01b98ed9 rearragned some locks 2020-07-13 17:00:09 +01:00
jude
725b9fe5c5 self permission checkers 2020-07-10 12:02:46 +01:00
jude
30f58be0ac added role perm checking 2020-07-07 16:32:14 +01:00
jude
f46b0e4021 added a message 2020-07-07 12:53:56 +01:00
jude
7d72135123 added a log for when sound fails to upload 2020-06-26 01:09:16 +01:00
jude
3465d7aab6 disallow numeric names 2020-06-23 10:34:03 +01:00
jude
302e0d0254 get guild by id now creates a data entry if not available 2020-06-12 13:33:26 +01:00
jude-lafitteIII
4fa8313c7b made it post stats to dbl 2020-06-07 17:10:58 +01:00
jude-lafitteIII
7cbbe5c354 moved disconnect loop to new thread to hopefully prevent shards dying 2020-06-05 17:43:03 +01:00
jude-lafitteIII
461326be30 cleaned up a bit 2020-06-04 02:29:48 +01:00
jude-lafitteIII
c31be2f7da admin 2020-05-29 21:55:16 +01:00
jude-lafitteIII
b4db99934d moved create_from_guild to the prefix handler. 2020-05-29 16:13:20 +01:00
jude-lafitteIII
d6d825e86d added command to allow/disallow greet sounds 2020-05-29 14:35:24 +01:00
jude-lafitteIII
086ed93a51 stop command 2020-05-22 15:28:25 +01:00
jude-lafitteIII
bcfb216b34 id: prefix not necessary 2020-05-22 14:00:09 +01:00
jude-lafitteIII
010390b95f corrected the other order by 2020-05-21 00:04:11 +01:00
jude-lafitteIII
091468985e moved around the order by statements so that it orders correctly 2020-05-20 23:53:07 +01:00
jude-lafitteIII
efe9e34669 insert a user when necessary 2020-05-20 23:25:08 +01:00
jude-lafitteIII
64366ce071 automatically let everyone use bot 2020-05-20 22:48:01 +01:00
jude-lafitteIII
149d55d77f autoshard & customize info message 2020-05-20 20:13:38 +01:00
jude-lafitteIII
cdc06cb2ae cleared up issues with the roles command 2020-05-20 19:08:59 +01:00
jude-lafitteIII
7265976948 handle failed checks and pass messages back to user 2020-05-20 17:54:46 +01:00
jude-lafitteIII
03e3c4f301 mention for commands 2020-05-20 15:33:28 +01:00
jude-lafitteIII
815600709d split guilddata, errortypes and sound into separate files 2020-05-20 01:46:41 +01:00
jude-lafitteIII
3de4b9d98e readme and moved magic numbers to env vars 2020-05-20 01:23:14 +01:00
jude-lafitteIII
6ed775f2c4 fix for not playing on disconnecting 2020-05-19 22:05:10 +01:00
jude-lafitteIII
296f019bb5 greet users with their sound 2020-05-19 21:03:07 +01:00
jude-lafitteIII
32aa189511 cargo config. extracted play functionality. volume can be modified hopefully 2020-05-19 16:29:57 +01:00
jude-lafitteIII
8c6be25f02 autodisconnect. random and popular searches 2020-05-18 23:44:51 +01:00
jude-lafitteIII
62fe4a20a5 unsetting greet sound. search function extracted for reuse 2020-05-18 01:18:37 +01:00
jude-lafitteIII
b14da8aad3 search command working. updated for latest rolling serenity await version. update the play counter for sounds 2020-05-17 00:40:35 +01:00
jude-lafitteIII
952295ae08 search sounds can now return a vector of sounds. delete command 2020-05-16 21:28:47 +01:00
jude-lafitteIII
7683680f54 command to change public status 2020-05-15 22:04:22 +01:00
jude-lafitteIII
c84895b722 list command :) 2020-05-15 01:25:46 +01:00
jude-lafitteIII
3905449f5c query for all of a user or guilds sounds 2020-05-04 01:07:47 +01:00
jude-lafitteIII
7470bbd638 set allowed roles command and role check 2020-04-30 23:57:22 +01:00
jude-lafitteIII
5a0b208d81 check for patreon role 2020-04-30 01:21:34 +01:00
jude-lafitteIII
9f2317eb6a check for user sound count on upload 2020-04-29 23:09:31 +01:00
jude-lafitteIII
d30f875ea8 upload command 2020-04-29 02:20:52 +01:00
jude-lafitteIII
e889118245 prefix command 2020-04-28 17:40:26 +01:00
jude-lafitteIII
9af33602b3 change volume command 2020-04-28 17:17:32 +01:00
jude-lafitteIII
e34d36b4a3 pain in the arse 2020-04-28 01:24:06 +01:00
jude-lafitteIII
7653fbcfeb play command working sort of 2020-04-26 23:12:31 +01:00
jude-lafitteIII
8347f340d5 async stuff for async serenity 2020-04-26 01:51:51 +01:00
jude-lafitteIII
7b8198aac0 initial 2020-04-14 00:22:31 +01:00