Commit graph

7 commits

Author SHA1 Message Date
liushuyu 7d54dc1a78 meta: rewrite the bot in Typescript 2020-05-01 23:59:20 -06:00
Tobias 9a1a207d2c Fix EsLint warnings and add some files to .gitignore (#60)
* Silence git about my local IDE files

This was copy-pasted from Citras .gitignore file.

* Fix some typos

* Prevent coercion warning

* Fix the rest of EsLinter warnings

Fixes wrong spacing, missing semicolons, unecessary RegEx escapes, unecessary undefined init and unused variables.

* Replace var with const or let
2019-07-21 20:56:54 -04:00
Chris fa3be4a7e7 Updated commands for properly outputting the ban message to the channel, not the admin log. 2018-04-03 20:32:31 -04:00
Chris 7638e40554 Updated sendMessage to sendMessage. Updated data.js to throw errors. 2018-04-03 19:50:20 -04:00
Chris d3422138ca Revert "Removed commands: ban, clearWarnings, warn, warnings. Removed data.js in favor of inline fs.readFile. Deleted models. Deleted server.js warnings. Removed warning related functionality from state.js. Changed dep. discord.js function sendMessage to send. Cleanup."
This reverts commit b9a9fce06b.
2018-04-03 19:28:33 -04:00
chris062689 b9a9fce06b Removed commands: ban, clearWarnings, warn, warnings. Removed data.js in favor of inline fs.readFile. Deleted models. Deleted server.js warnings. Removed warning related functionality from state.js. Changed dep. discord.js function sendMessage to send. Cleanup. 2018-02-28 22:14:09 -05:00
chris062689 8e576e2a3f Updated folder structure. Added back responses.json into src. Tweaked includes. 2017-10-04 22:21:36 -04:00
Renamed from commands/clearWarnings.js (Browse further)