Commit Graph

140 Commits

Author SHA1 Message Date
e47715917e integrate reminder sender 2021-12-20 13:48:18 +00:00
5230101a8d beta0 2021-11-13 14:12:37 +00:00
d8f42c1b25 fixed an issue with utc time. removed intents 2021-11-07 13:23:41 +00:00
a21f518b21 removed framework impl 2021-11-02 20:19:29 +00:00
72228911f2 Readded some guild data code. fixed some weird cases with macro command. removed restrict command. changed db to be 'as it was'. removed execution limiters since commands are quite heavily ratelimited anyway 2021-10-30 21:02:11 +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
6cf660c7ee macro stuff 2021-10-16 19:18:16 +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
3c1eeed92f look command pager 2021-09-16 14:48:29 +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
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
320060b1bd functions for signing stuff 2021-07-16 18:18:35 +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
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
a0da4dcf00 ratelimit commands 2021-05-13 18:50:22 +01:00
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
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
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
9003beb1bb fix multiline reminders. disable unused gateways if dm disabled 2021-01-19 12:01:14 +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
702743c108 reverted previous changes. dependency upgrade 2021-01-13 19:19:55 +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
6311099cc6 meridian command for switching from 12/24 format 2020-12-16 16:53:13 +00:00
3c1fe1f091 can now use reactions on lang command 2020-11-23 14:11: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
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