Commit Graph

177 Commits

Author SHA1 Message Date
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
74874c6e99 timezones are now queried at launch rather than every time the timezone command is used 2021-01-19 12:19:20 +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
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
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
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
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
fa17978add fix for a number of commands that had managable permissions not being managable 2020-10-26 19:50:51 +00:00
3e490bb5c4 removed standard_framework completely 2020-10-26 11:10:00 +00:00
dd621a022a fix for the del command not working properly 2020-10-25 17:39:39 +00: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
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
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
dca2b37fb0 made webhook avatar configurable 2020-10-14 11:31:18 +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
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
7cfe62d18f moved LOCAL_TIMEZONE to consts.rs 2020-10-11 18:06:14 +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
1afa04d61c fixed uid generation 2020-10-10 17:44:12 +01:00
d3f28ce539 added better formatting to del and look outputs. removed a now useless model 2020-10-10 17:29:32 +01:00
8d5ce121d3 updated del command to display formatted time 2020-10-07 12:23:50 +01:00
2d6d9da70a functions to display displacements 2020-10-06 12:02:09 +01:00
jude
db9b0ef2b1 fixed some messages not sending 2020-10-04 16:17:13 +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
6db489189d check subscriptions and extract every clause from natural 2020-10-01 22:55:28 +01:00
jude
74f1c7aada turned say_lines into a method of channelid 2020-10-01 18:07:27 +01:00
jude
1813a00eac alias paging messages to not surpass 2048 characters 2020-09-28 16:11:27 +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
8a0588b04e natural command stuff 2020-09-26 22:23:41 +01:00
jude
f13853d445 cleared up more clippy issues 2020-09-25 23:07:22 +01:00
jude
6002aa2170 cleared up some clippy issues. natural command progress 2020-09-25 12:48:44 +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
980a8d2a9c write interval to db. validate interval 2020-09-15 15:13:41 +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
89d7403a54 send responses to remind command 2020-09-14 16:07:44 +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