Commit graph

466 commits

Author SHA1 Message Date
lyx0 69819e4241 add web 2022-08-18 22:01:53 +02:00
lyx0 c6596f7733 add cors headers 2022-08-18 22:01:48 +02:00
lyx0 44aa74da44 not using nextjs 2022-08-18 20:55:35 +02:00
lyx0 7dd3bf3f14 add simple gocron timer 2022-08-18 18:57:29 +02:00
lyx0 597f064550 commands n shit xD 2022-08-17 23:59:26 +02:00
lyx0 daef54bd01 add command 2022-08-17 23:14:08 +02:00
lyx0 661a30542b add NotFound and MethodNotAllowed routes 2022-08-17 23:14:05 +02:00
lyx0 a72bb0b066 Patch, Delete, Post, Get 2022-08-17 21:17:40 +02:00
lyx0 7144b0d61d add logs 2022-08-17 21:17:29 +02:00
lyx0 5e3ee66bae update a command through the api 2022-08-17 20:57:25 +02:00
lyx0 8e0a307b11 add delete command route for the api 2022-08-17 18:07:50 +02:00
lyx0 e9438d3b21 add insomnia document 2022-08-17 17:14:56 +02:00
lyx0 b4c8c7bc59 add a command to the database through the api 2022-08-17 15:32:42 +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 0099236bc8 clean up 2022-08-16 18:05:55 +02:00
lyx0 3843c76906 start implementing an api for the commands 2022-08-16 16:35:45 +02:00
lyx0 003a3737ac add commands 2022-08-16 16:34:36 +02:00
lyx0 adda19c892 create next app 2022-08-16 01:16:51 +02:00
lyx0 6f11502f01 add byechat 2022-08-16 00:55:00 +02:00
lyx0 274a34cf7d clean up weather command 2022-08-15 17:38:10 +02:00
lyx0 73299f776c add openweathermap key 2022-08-15 17:37:35 +02:00
lyx0 3b395f0bc2 check if the location was found before replying 2022-08-15 15:12:59 +02:00
lyx0 f3bcd83855 add current weather command 2022-08-15 15:04:43 +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 13639b82c1 add more commands 2022-08-14 20:33:40 +02:00
lyx0 da412602f8 remove accidental space 2022-08-13 15:56:35 +02:00
lyx0 d463b98633 add comments 2022-08-13 02:06:54 +02:00
lyx0 e029110ec7 add comments 2022-08-12 23:06:39 +02:00
lyx0 4374119f4c fix comments 2022-08-12 16:59:58 +02:00
lyx0 74b4ac2962 add more placeholder values 2022-08-12 02:50:57 +02:00
lyx0 f241f2a816 add comments 2022-08-12 02:50:45 +02:00
lyx0 a2c9578b06 add comments 2022-08-12 00:49:58 +02:00
lyx0 8068f9115d update readme 2022-08-12 00:11:21 +02:00
lyx0 29b6b3c952 add comments 2022-08-12 00:08:39 +02:00
lyx0 fbe3f6dc1e add comments 2022-08-11 23:34:05 +02:00
lyx0 b832ec63b6 make the commandPrefix a config value 2022-08-11 23:34:00 +02:00
lyx0 28b318dc92 move basic message routing into main function 2022-08-11 22:44:08 +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 704a6a9470 add way to delete commands 2022-08-11 21:49:15 +02:00
lyx0 58ad0b3e20 add more placeholder commands 2022-08-11 21:01:23 +02:00
lyx0 4e4b26b43a rename EditCommand to EditCommandLevel 2022-08-11 21:01:13 +02:00
lyx0 e78a844860 add some more placeholder commands 2022-08-11 20:35:42 +02:00
lyx0 afc2b74ff0 add some more placeholder commands 2022-08-11 20:35:34 +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 88b114a826 make seperate error commands depending on if a channel or a command already exists 2022-08-11 01:50:30 +02:00
lyx0 350283018e query the database on a command and send it if it exists 2022-08-11 01:49:49 +02:00