Commit Graph

337 Commits

Author SHA1 Message Date
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
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
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
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
7e28d14a81 basis of restrict command 2020-09-01 19:00:56 +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
c1a4092e3c working on time parser 2020-08-30 21:08:08 +01:00
jude
d097f36313 starting on time parser port from python 2020-08-30 00:16:33 +01:00
jude
1f410899b2 prefix command 2020-08-29 20:57:11 +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
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
jude
d95652a605 made boxing cleaner 2020-08-18 00:19:40 +01:00
jude
08c274fb27 made boxing cleaner 2020-08-18 00:19:15 +01:00
jude
09b09c06b2 more todo commands 2020-08-18 00:18:33 +01:00
jude
9574283638 cleared up some issues. added add, view, remove, clear methods 2020-08-17 14:16:52 +01:00
jude
868e29c53a working on todo command 2020-08-11 00:26:39 +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
0bda479d01 support for DMing commands. execute command function correctly 2020-08-07 23:45:34 +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