Commit graph

44 commits

Author SHA1 Message Date
lyx0 5dd6402941 add help column for commands and implement a command setting a new help text 2023-03-04 01:29:29 +00:00
lyx0 4be80755fc add 'help' column to command model 2023-03-04 00:04:28 +00:00
lyx0 76c78dfbb1 refactor from pkg to internal 2023-01-04 15:32:17 +01:00
lyx0 0b117a7ac4 check the time interval before trying to add it as a timer 2022-08-26 03:42:19 +02:00
lyx0 650e7f450f pass in a command to the insert method instead of name, text 2022-08-17 14:45:35 +02:00
lyx0 4125967c63 set default command category to uncategorized instead of default 2022-08-15 13:53:07 +02:00
lyx0 96eedbe293 add command category in database and add an command to add the category from 2022-08-15 00:53:41 +02:00
lyx0 a871dcd3cd clean up 2022-08-14 20:33:49 +02:00
lyx0 4374119f4c fix comments 2022-08-12 16:59:58 +02:00
lyx0 29b6b3c952 add comments 2022-08-12 00:08:39 +02:00
lyx0 b832ec63b6 make the commandPrefix a config value 2022-08-11 23:34:00 +02:00
lyx0 2f6657bdff add comments 2022-08-11 22:15:30 +02:00
lyx0 f9b94de757 cleanup commands 2022-08-11 21:49:19 +02:00
lyx0 4e4b26b43a rename EditCommand to EditCommandLevel 2022-08-11 21:01:13 +02:00
lyx0 ceb9c4b98d add command to change the level of a command in the database 2022-08-11 20:35:22 +02:00
lyx0 a970aa470d implement permissions for commands that checks a users level to be high enough 2022-08-11 19:31:58 +02:00
lyx0 350283018e query the database on a command and send it if it exists 2022-08-11 01:49:49 +02:00
lyx0 841025cac0 implement adding commands to the database 2022-08-11 01:18:51 +02:00
lyx0 a0e724d009 get user level from database for command permissions 2022-08-10 22:06:36 +02:00
lyx0 998ad5c907 add debug command 2022-08-10 02:18:39 +02:00
lyx0 b91dc8d60a add updating user level 2022-08-10 00:14:54 +02:00
lyx0 364ea24ca0 add channel and user database functionality onto application 2022-08-09 22:49:48 +02:00
lyx0 1728fb54f9 add adding and deleting user to the database 2022-08-09 22:34:12 +02:00
lyx0 3f16128812 delete channel from database 2022-08-09 19:50:46 +02:00
lyx0 1c268cd09a add channel to database 2022-08-09 01:09:53 +02:00
lyx0 fe17f5b3cd pass down Application struct 2022-08-08 23:12:50 +02:00
lyx0 8e8342998f add followage and first line commands 2022-08-08 16:43:21 +02:00
lyx0 82927a97dd add xkcd command 2022-08-08 13:45:37 +02:00
lyx0 ea39e55342 add coinflip command 2022-08-08 13:17:42 +02:00
lyx0 27bd336a8f add commands to search for emotes 2022-08-07 21:43:40 +02:00
lyx0 cfb320b017 add ffz and bttv command 2022-08-07 18:10:40 +02:00
lyx0 b31468ae3c add currency command 2022-08-07 17:24:47 +02:00
lyx0 d7e38bb17c add ping command and uptime time helper 2022-08-07 16:36:06 +02:00
lyx0 be9962f9f2 add tweet command 2022-08-07 16:08:30 +02:00
lyx0 33f61e2f0f cleanup 2022-08-07 04:35:03 +02:00
lyx0 c5d9804c21 remove unused comments and clean up 2022-08-07 03:17:29 +02:00
lyx0 edae669bee replace logrus with zap 2022-08-07 03:09:09 +02:00
lyx0 effffff270 fix dereference error somehow 2022-08-07 02:27:40 +02:00
lyx0 fee71708e7 restructure 2022-08-07 01:34:31 +02:00
lyx0 d4d15a82e3 asd 2022-06-21 00:08:37 +02:00
lyx0 40da7b90f8 add send helper function which checks the banphrase api 2022-06-04 20:38:14 +02:00
lyx0 a7ab565b24 start implementing basic command handler 2022-06-04 20:06:44 +02:00
lyx0 a2a99b81eb start new 2022-04-15 23:11:42 +02:00
lyx0 1ebf4df8e7 add onConnect callback 2022-03-10 23:27:06 +01:00