Commit Graph

48 Commits

Author SHA1 Message Date
d8bf0240e4 removed all remaining instances of UserData::response. languagemanager now loads from string compiled into executable. languagemanager falls back properly. removed unnecessary param from language_of 2020-11-22 01:31:50 +00:00
6a7491d094 new language manager that loads strings from compiled json file 2020-11-21 16:48:20 +00:00
1927d381ab bumped sqlx -> 0.4, bumped reminder_rs -> 1.2.3, added a more descriptive message for not enough permissions. removed STRINGS_TABLE environment variable 2020-11-20 16:37:39 +00:00
a7fa722518 use serenity from my repo. other minor improvements 2020-10-25 11:19:21 +00:00
2e9b06faf6 corrected guild counts for shards 2020-10-24 12:52:49 +01:00
7aba128ad6 posting guild counts separately for shards. format default_prefix into info message 2020-10-23 12:14:29 +01:00
749abf7898 added case insensitivity to commands 2020-10-22 10:31:47 +01:00
25a637665c respond to some events and dbl api interactions 2020-10-18 17:26:07 +01:00
d022bac73e added env_logger 2020-10-17 23:56:19 +01:00
fd84a57e82 improvements to todo interface, now using todos and todoc as with old versionn 2020-10-17 15:21:00 +01:00
ceac7be083 moved around the consts so that default prefix env var isnt being read into the framework. made theme color configurable 2020-10-13 14:35:13 +01:00
c9fd2fea81 ran rustfmt over project. cleared up a couple of clippy things 2020-10-12 21:01:27 +01:00
88596fb399 padded readme out. made python location configurable. made ignore_bots configurable. replaced max_message_length with serenity's provided constant 2020-10-12 19:12:33 +01:00
3756e462e0 fixed strings in todo commands. improved clarity of main.rs. improved the signature of RegexFramework::new() 2020-10-12 18:37:14 +01:00
09a7608429 changed permission chekc to be more manual since built in one isnt working 2020-10-11 18:56:27 +01:00
47ad3f3822 added count to del. changed inner joins to left outers. moved all consts and lazies into consts.rs. more formatting fixes 2020-10-11 17:41:26 +01:00
1f41343e2e fixed a lot of message formatting that had been ignored 2020-10-11 01:42:19 +01:00
2d6d9da70a functions to display displacements 2020-10-06 12:02:09 +01:00
jude
836b77d14e if only setting one reminder with natural, show errors in messages. more refactor 2020-10-03 17:31:23 +01:00
jude
5ad143511e cleared up remaining warnings. messed with prefix so that is it now configured by the program + env vars rather than the DB + magic strings 2020-09-28 13:42:20 +01:00
jude
f13853d445 cleared up more clippy issues 2020-09-25 23:07:22 +01:00
jude
8e99cc088a TimeParser into i64. Generic argument across create_reminder. Some more work on natural inc. splitting off first args and calling the subprocess 2020-09-19 15:20:43 +01:00
jude
9287fb5416 moved interval extracting into separate function. pass around the same pool instead of relocking 2020-09-15 14:43:49 +01:00
jude
e222927858 working on the basic reminder commands 2020-09-11 17:41:15 +01:00
jude
b7fd89e861 timer command. added create.sql file with changes to reflect new version 2020-09-08 23:08:02 +01:00
jude
f654db76f7 working on look command 2020-09-05 21:17:45 +01:00
jude
571802c232 alias all working now 2020-09-04 21:21:47 +01:00
jude
aff303dda6 alias command big movements. arcing framework 2020-09-04 00:29:19 +01:00
jude
a0baaabe8a restrict command 2020-09-02 17:13:17 +01:00
jude
bb4c96a628 ping command 2020-09-01 18:48:40 +01:00
jude
e395886f6c nudge command 2020-09-01 18:37:43 +01:00
jude
4bd24ff94c offset command. fix for timeparser not doing negatives properly on specified fields 2020-09-01 18:18:45 +01:00
jude
9e737dc9d6 accept reference to pool rather than pool itself. response method on user_data to get text lines in locale. removed say_named trait 2020-09-01 17:07:51 +01:00
jude
74617d50a5 time parser struct 2020-09-01 15:34:50 +01:00
jude
d097f36313 starting on time parser port from python 2020-08-30 00:16:33 +01:00
jude
58298de0be trait to send message from database 2020-08-29 18:07:15 +01:00
jude
e88e4cc4f1 clock and timezone cmd 2020-08-27 21:37:44 +01:00
jude
ff09ccfd62 blacklist command 2020-08-26 18:26:28 +01:00
jude
e69264d726 starting other commands 2020-08-18 20:09:21 +01:00
jude
09b09c06b2 more todo commands 2020-08-18 00:18:33 +01:00
jude
f37bf23d9f changed Args to String because we dont need that 2020-08-10 22:12:26 +01:00
jude
27c62e6ac2 started adding commands 2020-08-09 23:59:31 +01:00
jude
6de542264a check roles 2020-08-09 21:01:50 +01:00
jude
305cf79ac8 check prefix and order commands properly for regex 2020-08-07 16:45:19 +01:00
jude
c2c5e79940 bulking out the dispatch fn 2020-08-07 01:02:01 +01:00
jude
7dac9f7895 permission_level attribute macro working 2020-08-06 20:39:05 +01:00
jude
0e3c514f35 command macros that will hopefully work 2020-08-06 19:18:30 +01:00
jude
784a72dd08 initial code 2020-08-06 15:22:13 +01:00