Commit Graph

378 Commits

Author SHA1 Message Date
jude 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
jude cfdcab4f01 added timezone and language fallbacks to local 2020-10-13 13:58:34 +01:00
jude c8ab8e66e3 improved logging of errors in from_user fn 2020-10-13 13:48:47 +01:00
jude b2111616e8 changed the insert into dm channels into an insert ignore 2020-10-13 13:42:15 +01:00
jude f32b142c81 fix for permission checking 2020-10-13 11:36:20 +01:00
jude 03e5578dcb made strings table name configurable 2020-10-12 23:17:47 +01:00
jude caf581083e removed .cargo config from repo 2020-10-12 22:44:37 +01:00
jude 84aa7c3278 readded local_language config option 2020-10-12 22:43:02 +01:00
jude c9fd2fea81 ran rustfmt over project. cleared up a couple of clippy things 2020-10-12 21:01:27 +01:00
jude 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
jude 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
jude 09a7608429 changed permission chekc to be more manual since built in one isnt working 2020-10-11 18:56:27 +01:00
jude 7cfe62d18f moved LOCAL_TIMEZONE to consts.rs 2020-10-11 18:06:14 +01:00
jude 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
jude 1f41343e2e fixed a lot of message formatting that had been ignored 2020-10-11 01:42:19 +01:00
jude 1afa04d61c fixed uid generation 2020-10-10 17:44:12 +01:00
jude d3f28ce539 added better formatting to del and look outputs. removed a now useless model 2020-10-10 17:29:32 +01:00
jude 8d5ce121d3 updated del command to display formatted time 2020-10-07 12:23:50 +01:00
jude 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 2b74adadeb Update README.md 2020-10-02 14:19:53 +00:00
jude 817bcc72c1 Merge pull request #2 from MxGutierrez/add-readme
Create README.md
2020-10-02 14:16:50 +00:00
MxGutierrez 995b065f66 Create README.md 2020-10-01 20:51:02 -03: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 e515589879 Merge remote-tracking branch 'origin/master' 2020-09-25 12:48:58 +01:00
jude 6002aa2170 cleared up some clippy issues. natural command progress 2020-09-25 12:48:44 +01:00
jude 4b07767069 Merge pull request #1 from reminder-bot/add-license-1
Create LICENSE
2020-09-21 09:16:25 +00:00
jude a327d6a001 Create LICENSE 2020-09-21 09:16:10 +00: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