Commit Graph

145 Commits

Author SHA1 Message Date
Christopher J. Gilbert e49c21a07c Merge pull request #12 from chris062689/master
Fixed the warning length count in total warnings.
2017-04-07 22:35:43 -04:00
chris062689 8027cf6296 Fixed the warning length count in total warnings. 2017-04-07 22:34:56 -04:00
Christopher J. Gilbert 0429aed636 Merge pull request #11 from chris062689/master
Round of Code Fixes
2017-04-07 19:38:07 -04:00
chris062689 af4fb4d2fc Updated disabled module and trigger code. 2017-04-07 19:36:45 -04:00
chris062689 2509bd2179 Access check to see if the user has privilages to warn after command runs. 2017-04-07 19:33:03 -04:00
chris062689 6f48e1c379 Check if logdnaKey is defined before attempting to use it. 2017-04-07 19:22:57 -04:00
chris062689 49755a4182 Added data folder to gitignore. 2017-04-07 19:17:55 -04:00
chris062689 cf55869bb8 Updated permissions. Disabled testing command. 2017-04-07 19:17:19 -04:00
chris062689 399e484c58 Updated ban code for proper logging of username in message. 2017-04-07 19:17:05 -04:00
Christopher J. Gilbert dc29c03563 Merge pull request #9 from chris062689/master
Reverting change to how we cache triggers due to foreach loop.
2017-03-30 21:35:33 -04:00
chris062689 3c7dd523f0 Reverting change to how we cache triggers due to foreach loop. 2017-03-30 21:35:07 -04:00
Christopher J. Gilbert 0f33a06834 Merge pull request #8 from chris062689/master
Remove logging from triggers, log instead in server.js
2017-03-30 21:32:42 -04:00
chris062689 a5b2f8d59f Logging triggers in server.js, now caching triggers like we cache modules. 2017-03-30 21:29:52 -04:00
chris062689 1966e65742 Removed logging from Github module as we're now logging in server.js for triggers. 2017-03-30 21:29:32 -04:00
Christopher J. Gilbert e613f94259 Merge pull request #7 from chris062689/master
Fix - Multiple reconnects cause triggers to stack.
2017-03-30 21:20:29 -04:00
chris062689 2a4a0d689f Clear out arrays before caching. 2017-03-30 21:18:23 -04:00
chris062689 cd6211fb7d Moved caching of modules and reading data outside of client.on.ready due to reconnect issues duplicating triggers. 2017-03-30 21:17:21 -04:00
Christopher J. Gilbert 62221cc686 Merge pull request #4 from anodium/fix-quote
Find all PR matches and deduplicate
2017-03-26 17:43:36 -04:00
Andrea Pascal 529a80ec97 Fix PR matching and dedupe
Fix issue tracker regex

Iterate over issues instead of repeating

Fix typo

Fix match loop

Ensure only unique `url`s are sent

Increase log level of PR missing
2017-03-26 00:33:49 -04:00
chris062689 5a1eba8b2a Added logging for loading modules and triggers. 2017-03-25 21:37:40 -04:00
chris062689 02ec9079ff Only load scripts and modules that end in .js 2017-03-25 21:33:44 -04:00
chris062689 e36ac7257a Changed logging level for LogDNA. 2017-03-15 00:03:38 -04:00
chris062689 bf0377898f Fixing logging. 2017-03-14 23:59:40 -04:00
chris062689 0e00edf27c Added config module to logging. 2017-03-14 23:58:17 -04:00
chris062689 aa7b30680e Added logdna. 2017-03-14 23:55:22 -04:00
Christopher J. Gilbert cffaa53879 Merge pull request #2 from Leo626/update-links
Update the links for website
2017-02-27 08:39:30 -05:00
Leo626 2f3d756387 Update the links for website 2017-02-27 09:31:35 -04:00
chris062689 2a868860f7 Check if bot before executing triggers. 2017-01-29 15:50:10 -05:00
chris062689 8034d2667c Updated variable name for wearnings. 2017-01-29 15:46:54 -05:00
chris062689 0a75dc0f70 Fixed list of warnings returning length instead of the actual list. 2017-01-29 15:45:50 -05:00
chris062689 0273e57e7f Fixed count.forEach being undefined. Presented a message when the user had no warnings. 2017-01-15 12:38:31 -05:00
chris062689 f9896bdd15 Added try catch blocks so script execution does not halt. 2017-01-15 12:37:43 -05:00
chris062689 e2ee403ee2 Corrected URL formatting. 2016-12-31 17:16:08 -05:00
chris062689 c5f877262b Added request to dependencies. 2016-12-31 17:12:30 -05:00
chris062689 afcb1a3da3 Check if Github PR exists before posting it. 2016-12-31 17:10:20 -05:00
chris062689 4ac59532ae Updated github regex to ignore internal Discord references. 2016-12-31 17:02:04 -05:00
chris062689 2030fb19d7 Github Trigger Regex now accepts the full number. 2016-12-31 00:54:05 -05:00
chris062689 4b997e5409 Added triggers for regular messages. 2016-12-31 00:49:12 -05:00
chris062689 2dbe3421af Use arrow functions, code cleanup. 2016-12-31 00:48:39 -05:00
Christopher J. Gilbert ab25b2599c Merge pull request #1 from Dragios/update-quotes
Update quotes
2016-12-20 23:39:19 -05:00
Dragios 4e9dc64c9b Added missing markups 2016-12-21 07:32:39 +08:00
Dragios 4f2774a100 Update quotes
Added markups to highlight important words for Discord and update Pokémon games status quotes.
Also change some sentences.
2016-12-21 07:12:27 +08:00
chris062689 94f29b3537 Removed startup complete message. 2016-12-10 12:29:23 -05:00
chris062689 cbcab5e343 Initial push of discord-bot code. 2016-12-07 22:56:16 -05:00
bunnei 7ded8c2c45 Initial commit 2016-12-07 22:27:08 -05:00