-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π·ββοΈ Rewrite the bot to use slash commands (#26)
* π₯ Remove webhook functionality * π§ Reimplement commands * π₯ Remove unnecessary dependencies * π Update README * β¬ Downgrade mysql2 to fix build error. See sidorares/node-mysql2#1722 * Remove 14.x node support * π Update pm2 ecosystem * π Replace tslint with eslint * π Ensure clean works on first attempt * β¬ Increase node version on CircleCI * π Improve command architecture * π Finalize linted code * π₯ Remove ts-clean in favour of --clean flag in tsc * π Work in progress to fix running * π Fix all newly introduced bugs based on testing * Add members and messages intents to client * Update node image
- Loading branch information
1 parent
20973af
commit d784f83
Showing
43 changed files
with
2,610 additions
and
6,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
], | ||
plugins: ['@typescript-eslint'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: true, | ||
tsconfigRootDir: __dirname, | ||
}, | ||
root: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"commandPrefix": "!", | ||
"clientId": "application_id_from_dev_portal", | ||
"token": "add_bot_secret_here", | ||
"owner": ["discord_user_id"], | ||
"activity": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.