Commit graph

42 commits

Author SHA1 Message Date
liushuyu b047824f59 Upgrade to Node.js 20 ...
... removing node-fetch and use built-in fetch function
2023-08-23 10:45:51 -06:00
liushuyu d5bf77f4f1
deps: update dependencies 2023-05-12 16:14:30 -06:00
liushuyu 7baa540663 commands/grantTester: new command 2023-04-28 14:41:45 +02:00
liushuyu c61fafdca0 common: extract the grantRole function 2023-04-28 14:41:45 +02:00
liushuyu 65b36aaa5d commands: lint code according to ESLint 2023-04-28 14:41:45 +02:00
liushuyu cbfea20517 tree-wide: code clean-up ...
* remove commented-out code blocks
* remove usages of deprecated JS functions
2022-11-18 20:56:38 -07:00
liushuyu 0c3a42e5c7 tree-wide: await all the await-able functions 2022-11-18 20:56:38 -07:00
liushuyu 23e8e1a8eb
lint: fix issues from ESLint 2022-09-18 03:52:00 -06:00
liushuyu 29388049ac tree-wide: use rollup to bundle 2022-09-14 03:05:51 -06:00
liushuyu b132f1d4be
deps: upgrade Discord.js to 14 2022-09-13 21:02:56 -06:00
liushuyu e2fb430042
lint: automated fix from ESLint 2021-10-28 15:38:02 -06:00
liushuyu 39c8f5979c
lint: await all the Promises 2021-10-28 15:32:32 -06:00
liushuyu f525a22c65
meta: update to Discord.js 13 2021-10-22 01:43:19 -06:00
liushuyu b833189f6a
meta: enable even stricter type checking 2021-09-12 21:08:43 -06:00
Vamsi Krishna 3529821d6c
log username & ID with warn (#106) 2021-03-07 23:26:12 -08:00
Morph e0655d1cdd
status: Fix "Developer" role (#101) 2021-02-08 18:24:26 +05:30
liushuyu 1c5236345c
fixed two minor issues...
* Regex misuse in server.ts (matching media URL)
* Dead value assignment in quote.ts
2020-07-26 21:47:27 -06:00
liushuyu 89ed704d09
meta: fix null check misuses 2020-07-26 21:42:40 -06:00
liushuyu 791b306650 commands: split ban function into common 2020-06-23 19:48:49 -06:00
liushuyu 0ee8068198
meta: enable stricter type checking 2020-05-02 20:17:51 -06:00
liushuyu b42c3eaf88
bugfixes: more robust grantDeveloper command...
... and command is now case insensitive
2020-05-02 17:15:06 -06:00
liushuyu 59821a21d3
bugfixes: grantDeveloper fix and exit on error 2020-05-02 16:47:26 -06:00
liushuyu 1344f23221
status: switch to GitHub Checks API 2020-05-02 14:23:28 -06:00
liushuyu c0ab384086
quote: fix pinging 2020-05-02 13:06:09 -06:00
liushuyu 09867e2c0d
commands: fix pinging people 2020-05-02 01:25:28 -06:00
liushuyu 7d54dc1a78 meta: rewrite the bot in Typescript 2020-05-01 23:59:20 -06:00
Vamsi Krishna fe5959cc72
fix codeblock formatting for mobile (#61) 2019-07-31 00:05:56 +05:30
Chris 91575b9029 Added info command. Updated warnings to include silent warnings. Removed references to state. 2019-07-21 21:45:45 -04: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
CaptV0rt3x 07025a7296 Hide Stuff 2019-05-24 00:00:51 +05:30
chris062689@gmail.com 97efa5710b Corrected gamedb lookup. 2019-03-03 18:42:16 -05:00
chris062689@gmail.com 73202911d9 Removed unused fields from game command. 2019-01-21 22:31:26 -05:00
James b914780a65 Add game DB lookup support (#32)
* Add game DB lookup support

* Fix compatibility typo

* Fix typo 2

* Use async function in game DB listing, avoid redundant HTTP requests
2018-06-06 22:54:28 -04:00
Chris 9d15288d9c Moved grantDeveloper role permission into env file. 2018-06-04 19:16:20 -04:00
spycrab 369d01bcb9 Implement some GitHub related improvements (#28) 2018-06-04 22:59:55 +00: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 b5cf83a9fe Migrated from npm to yarn. Upgraded packages. Added rules code for removing role when agreeing to rules. 2018-02-27 19:19:14 -05:00
Chris 510fd6227c Added buildCanary.js function. 2017-11-05 13:37:35 -05:00
chris062689 8e576e2a3f Updated folder structure. Added back responses.json into src. Tweaked includes. 2017-10-04 22:21:36 -04:00