Commit Graph

44 Commits

Author SHA1 Message Date
0a9624d12d guild data caching 2021-04-12 22:33:02 +01:00
c76a456af5 added cargo feature to cache guild prefixes. dont query language until necessary in framework 2021-03-24 13:10:57 +00:00
55c7740cef meridian 12 now works on timezone command 2020-12-28 21:58:58 +00:00
6311099cc6 meridian command for switching from 12/24 format 2020-12-16 16:53:13 +00:00
012d90e832 timezone_of method for more lazy-storage. fix for del command raising issues if 0 is written. fix for get_language not recognising 2020-11-22 12:09:57 +00:00
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
19754d3bcc fixed blacklist strings. fixed blacklist silent failing on occasion 2020-11-19 21:31:31 +00:00
db56118bfb changed to how the guild query works so that errors are more useful and it doesnt do dumb shit 2020-10-27 17:35:01 +00:00
75653a3e88 changed guild name to be optional 2020-10-27 17:29:40 +00:00
b08848d272 create guild data if not present. added a temp method to reattach channels to their guild data 2020-10-27 11:37:55 +00:00
d7b0d18444 fix for DM commands 2020-10-26 20:56:54 +00:00
dd621a022a fix for the del command not working properly 2020-10-25 17:39:39 +00:00
d50390c4a5 fix to unspecified language or timezone 2020-10-20 20:37:36 +01:00
d10bf7ede6 insert events on deleting a reminder 2020-10-14 16:08:26 +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
cfdcab4f01 added timezone and language fallbacks to local 2020-10-13 13:58:34 +01:00
c8ab8e66e3 improved logging of errors in from_user fn 2020-10-13 13:48:47 +01:00
b2111616e8 changed the insert into dm channels into an insert ignore 2020-10-13 13:42:15 +01:00
03e5578dcb made strings table name configurable 2020-10-12 23:17:47 +01:00
84aa7c3278 readded local_language config option 2020-10-12 22:43:02 +01:00
c9fd2fea81 ran rustfmt over project. cleared up a couple of clippy things 2020-10-12 21:01:27 +01:00
d3f28ce539 added better formatting to del and look outputs. removed a now useless model 2020-10-10 17:29:32 +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
4f3789aeed added help for natural command. added prefix_from_id for guilddata 2020-09-27 22:57:55 +01:00
jude
f13853d445 cleared up more clippy issues 2020-09-25 23:07:22 +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
f0a1bb3a71 working on del command 2020-09-08 00:12:17 +01:00
jude
f654db76f7 working on look command 2020-09-05 21:17:45 +01:00
jude
a0baaabe8a restrict command 2020-09-02 17:13:17 +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
c1a4092e3c working on time parser 2020-08-30 21:08:08 +01:00
jude
1f410899b2 prefix command 2020-08-29 20:57:11 +01:00
jude
2cde012c15 userdata 2020-08-27 12:15:20 +01:00
jude
ff09ccfd62 blacklist command 2020-08-26 18:26:28 +01:00
jude
afe3dbc525 blacklist stuff 2020-08-25 17:19:08 +01:00
jude
e5334af999 builds 2020-08-25 15:09:33 +01:00
jude
81e339c796 models stuff 2020-08-22 01:24:12 +01:00
jude
e69264d726 starting other commands 2020-08-18 20:09:21 +01:00