Commit Graph

214 Commits

Author SHA1 Message Date
b31843c478 check time to kill users that get stuck in executing state 2021-05-23 10:59:06 +01:00
9109250fe8 fix for alias 2021-05-13 20:20:53 +01:00
a0da4dcf00 ratelimit commands 2021-05-13 18:50:22 +01:00
0a9624d12d guild data caching 2021-04-12 22:33:02 +01:00
72a976dea8 look command now shows interval 2021-03-27 13:12:08 +00:00
c76a456af5 added cargo feature to cache guild prefixes. dont query language until necessary in framework 2021-03-24 13:10:57 +00:00
1473ac3bcf natural's help output is now unified with the help command. removed an unconstructed enum variant. added countdown to help menu 2021-03-21 14:39:54 +00:00
4eae563a76 countdown command 2021-03-21 14:18:35 +00:00
65c59ca889 fixed remind command having too many spaces 2021-03-14 10:27:30 +00:00
7b6464d5a4 help command now no longer relies on help_strings const
timeparser updated to work with partially specified times
2021-02-23 13:45:25 +00:00
3075e34fe1 1.4.6- natural arguments can now be on new lines and work properly 2021-02-21 12:26:49 +00:00
93e372e53e fix for dev error showing instead of other errors. show shard number on help pages. cache guilds on join 2021-02-14 14:10:01 +00:00
e9e321ebb1 fix for guilds not being cached 2021-02-12 11:44:52 +00:00
ff56ab3c83 fix for oom 2021-02-11 23:30:44 +00:00
74874c6e99 timezones are now queried at launch rather than every time the timezone command is used 2021-01-19 12:19:20 +00:00
9003beb1bb fix multiline reminders. disable unused gateways if dm disabled 2021-01-19 12:01:14 +00:00
88976dc244 made up for the missing forward check 2021-01-18 19:32:19 +00:00
43ba899c7a removed forward check bc it doesnt work. added an environment variable to configure if dm responses should be enabled 2021-01-17 00:39:48 +00:00
f80c8cba50 modified regex to forward-check on every 2021-01-14 19:47:19 +00:00
4d7b957a91 readded patreon checks to natural 2021-01-14 18:00:24 +00:00
04232162f2 revamped natural to use a regex to match commands. natural now supports until parameter 2021-01-14 17:56:57 +00:00
702743c108 reverted previous changes. dependency upgrade 2021-01-13 19:19:55 +00:00
e866171ea7 dependency upd 2021-01-09 18:25:50 +00:00
769cb78141 removed async_trait from deps to use reexport from serenity 2021-01-07 21:11:02 +00:00
3598973fac expiring reminders working 2021-01-04 18:33:28 +00:00
99c4a23bf0 updated serenity to latest current. interval and remind commands are now operationally identical using one regex. interval accepts an optional third parameter which is an expiration point 2021-01-03 14:48:18 +00:00
c7c3b14c2d fixed <<here>> not mentioning 2020-12-29 22:44:11 +00:00
55c7740cef meridian 12 now works on timezone command 2020-12-28 21:58:58 +00:00
2db405866f fix interval/donor message not showing 2020-12-28 21:31:52 +00:00
684661af42 fix guild ids 2020-12-22 14:44:45 +00:00
392e1bb65e create guild in database 2020-12-22 14:28:18 +00:00
bfc48a986d added length check to timer creation 2020-12-20 14:36:20 +00:00
632d01f503 removed useless fields from todo. removed debug trait 2020-12-19 22:14:16 +00:00
ec04c40cc8 deduplication 2020-12-18 17:41:36 +00:00
ca68b45ebe cleared up imports, split command help into separate function, postponed some awaits 2020-12-18 12:37:05 +00:00
26825ff4e5 removed some duped code 2020-12-18 11:46:22 +00:00
fd4acc4b9d updated deps. improved restrict output to be nicer in appearance. 2020-12-17 19:59:02 +00:00
c43dde09f0 added meridian to help menu 2020-12-17 17:23:57 +00:00
aebb8529b6 ported all changes to natural command also 2020-12-16 22:35:51 +00:00
e002984986 allow more reminder content inc. attachments, tts 2020-12-16 19:20:46 +00:00
6311099cc6 meridian command for switching from 12/24 format 2020-12-16 16:53:13 +00:00
44d06e4298 silent mentioning for roles in reminders 2020-12-15 23:03:41 +00:00
6402a9b705 removed look all, fixed look #channel with other switches. added a changelog to be posted to discord 2020-12-15 22:26:42 +00:00
9bb969c642 show the discord error in place of the webhook error. removed an unwrap from interval 2020-12-12 18:56:50 +00:00
20a3c134c0 changed 1+ to 0+ whitespace after mention for natural to flow nicer 2020-12-07 12:36:33 +00:00
167a5a404f help command rework 2020-11-30 21:55:34 +00:00
268fcab8c5 help command rework started 2020-11-30 16:06:05 +00:00
d8aaf92335 working on improvements to reminder command still 2020-11-29 12:49:50 +00:00
3879c83085 rework of remind command. updated a dep. fixed an issue in parsing absolute times 2020-11-29 00:36:42 +00:00
55437b76eb reactions are permission gated properly so they work with different subsets of permissions 2020-11-23 16:04:42 +00:00
3c1fe1f091 can now use reactions on lang command 2020-11-23 14:11:57 +00:00
06d13ec810 facelift 2020-11-23 00:06:46 +00:00
d3f9fa6d7b doing a facelift for timezone command 2020-11-22 23:58:46 +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
38e2767f99 fixed $look time. fixed pause message 2020-11-10 22:55:29 +00:00
4bc7b36fd1 $look has new flag all which views reminders from entire guild. reminders now support basic substitution: <<id>> for a user, or <<everyone>> and <<here>> for the everyone and here tags respectively 2020-11-09 13:47:11 +00:00
2a637ee9c9 added a tolerance to the natural processor so that 'now' works again 2020-11-07 00:44:36 +00:00
5d4bed30ae switched inner join for left join 2020-11-04 21:56:09 +00:00
43824bc374 show embed description if message not there 2020-11-04 21:09:15 +00:00
41e5f32374 patch for times on del output being bad. patch for look output not being ordered. patch for user todo list being restricted 2020-10-29 20:25:37 +00:00
afc06bda9f fixed formatting for reminders that are about to send in $look. fixed multiline reminders on natural that have a location or interval provided 2020-10-28 09:19:10 +00:00
047795810e fixed removing todo list items 2020-10-27 22:53:05 +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
a380c1f139 fix for bulk setting reminders 2020-10-27 12:11:05 +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
fa17978add fix for a number of commands that had managable permissions not being managable 2020-10-26 19:50:51 +00:00
84e4952752 moved the member-getter to as late as possible 2020-10-26 12:33:38 +00:00
3e490bb5c4 removed standard_framework completely 2020-10-26 11:10:00 +00:00
19b3eb067e fix for multiline commands 2020-10-26 10:16:38 +00:00
dd621a022a fix for the del command not working properly 2020-10-25 17:39: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
775037fc6e rc.8. mostly changes to the framework to make better use of db models, and to send strings from the db rather than those that are coded in. 2020-10-23 23:04:37 +01:00
8e567bf10b bumped to rc.7. embed avatar inside executable. nudge now outputs the current nudge when ran with no arguments 2020-10-23 22:23:43 +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
d50390c4a5 fix to unspecified language or timezone 2020-10-20 20:37:36 +01:00
c90bb1fc07 bumped cargo version. tagged info commands with pkg name and version 2020-10-20 09:13:55 +01:00
c0be97115c be explicit with columns in some sql queries 2020-10-20 00:31:56 +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
87a7c69b76 improving the todo interface. switched up some of the dp.py include_strs to use cargo_manifest_dir 2020-10-17 02:10:36 +01:00
d10bf7ede6 insert events on deleting a reminder 2020-10-14 16:08:26 +01:00
11d12469fc warn when avatar path not real 2020-10-14 11:52:09 +01:00
dca2b37fb0 made webhook avatar configurable 2020-10-14 11:31:18 +01:00
254c9b04e9 added allowed_mentions to say_lines 2020-10-14 00:19:41 +01:00
55e388b01a dp.py now statically built into the output binary 2020-10-13 14:53:44 +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
f32b142c81 fix for permission checking 2020-10-13 11:36:20 +01:00
03e5578dcb made strings table name configurable 2020-10-12 23:17:47 +01:00