Commit Graph

253 Commits

Author SHA1 Message Date
db7cca6296 added to the migration file somewhat. added some checks to components 2021-10-26 22:13:51 +01:00
e36e718f28 removed all guild data related code 2021-10-26 21:10:14 +01:00
44debf93c5 removed dead code 2021-10-26 20:54:22 +01:00
9b54fba5e5 Revert "turned pager into a single type"
This reverts commit 4490f19c
2021-10-26 20:11:19 +01:00
6cf660c7ee macro stuff 2021-10-16 19:18:16 +01:00
4490f19c04 turned pager into a single type 2021-10-13 17:23:50 +01:00
a362a24cfc changed a bunch of types so the macro run command works nicely 2021-10-13 16:37:15 +01:00
903daf65e6 ... 2021-10-12 21:52:43 +01:00
b310e99085 todo pager and selector 2021-10-11 21:19:08 +01:00
ebabe0e85a todo stuff 2021-10-02 22:54:34 +01:00
6b5d6ae288 fixed del pager. todo stuff 2021-09-27 17:34:13 +01:00
379e488f7a subcommand group syntax 2021-09-24 12:55:35 +01:00
d84d7ab62b added functionality for reusable hook functions that will execute on commands 2021-09-22 21:12:29 +01:00
a0974795e1 ... 2021-09-18 13:40:30 +01:00
a9c91bee93 pager improvements. deleting working 2021-09-16 18:30:16 +01:00
b2207e308a optimized packing slightly. restrict interactions 2021-09-16 15:42:50 +01:00
3c1eeed92f look command pager 2021-09-16 14:48:29 +01:00
395a8481f1 typing 2021-09-12 16:59:19 +01:00
bae0433bd9 framework now supports subcommands. timer cmd working 2021-09-12 16:09:57 +01:00
3e547861ea components 2021-09-11 20:40:58 +01:00
9b5333dc87 more commands. fixed an issue with text only commands 2021-09-11 00:14:23 +01:00
471948bed3 linked everything together 2021-09-10 18:09:25 +01:00
c148cdf556 removed language_manager.rs. framework reworked for slash commands. updated info commands for new framework 2021-09-06 13:46:16 +01:00
98aed91d21 revert some usages of discord builtin timestamp formatting 2021-09-02 23:59:30 +01:00
40630c0014 restructured all the reminder creation stuff into builders 2021-09-02 23:38:12 +01:00
85a8ae625d interactions to delete a newly created reminder 2021-07-17 22:53:00 +01:00
43bbcb3fe0 cleared up clippy lints 2021-07-17 17:00:47 +01:00
1556318d07 turned models into module 2021-07-16 21:28:51 +01:00
ea2b0f4b0a removed useless thing 2021-07-16 18:23:43 +01:00
f02c04b313 use discord timestamp formatting 2021-07-16 18:22:39 +01:00
320060b1bd functions for signing stuff 2021-07-16 18:18:35 +01:00
bef33c6dac show user who created reminder 2021-07-10 18:24:43 +01:00
7bcb3c4a70 fixed oversight where users could set DM reminders across servers 2021-07-10 13:25:12 +01:00
2e153cffab removed some stuff from perm checks that is no longer needed 2021-06-27 17:15:50 +01:00
540f120d7d lang command uses interaction buttons 2021-06-27 16:55:59 +01:00
59ffb505dc timezone command uses interaction buttons 2021-06-27 16:31:54 +01:00
507075d9d4 fixed the migration script since mysql is stupid 2021-06-22 16:46:42 +01:00
85659f05aa migrated reminder commands to new database code 2021-06-03 17:43:28 +01:00
1a09f026c9 made ratelimiting only apply when a command is actually done 2021-05-25 22:43:35 +01:00
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