Skip to content

Commit

Permalink
Introduce DiscordX (Discord.ts) for Slash Command Support (#209)
Browse files Browse the repository at this point in the history
* Move commands to legacy folder.

* Setup DiscordX/Discord.ts

* Migrate CodeblockCommand to being a slash command.

* Fix tests which broke due to Discord.js changes.

* Install @types/node and remove debug code.
  • Loading branch information
LamboCreeper authored Jan 7, 2022
1 parent 3148981 commit 1adfd69
Show file tree
Hide file tree
Showing 41 changed files with 535 additions and 541 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
}
},
rules: {
"new-cap": "off",
"no-unused-vars": "off",
"no-invalid-this": "off",
"multiline-ternary": 0,
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This repository contains the code for the CodeSupport Discord Bot. The project i

### Production
- [Discord.js](https://www.npmjs.com/package/discord.js)
- [DiscordX (formally Discord.ts)](https://www.npmjs.com/package/discordx)
- [Axios](https://www.npmjs.com/package/axios)
- [Twitter](https://www.npmjs.com/package/twitter)
- [dotenv](https://www.npmjs.com/package/dotenv)
Expand Down
Loading

0 comments on commit 1adfd69

Please sign in to comment.