Support discord.js-commando
Closed this issue · 2 comments
I want use discord.js-light with discord.js-commando.
Please let me know how to use both.
I've never used commando, so i cant say how much of it is compatible with discord.js-light but if you want to give it a try, you will have to modify commando like this:
- install discord.js-commando and discord.js-light
- open the file
node_modules/discord.js-commando/src/client.js
- replace the 1st line from
const discord = require('discord.js');
toconst discord = require('discord.js-light');
However its possible that some things will still break, in which case you will possibly need to make more edits to commando yourself.
I've never used commando, so i cant say how much of it is compatible with discord.js-light but if you want to give it a try, you will have to modify commando like this:
- install discord.js-commando and discord.js-light
- open the file
node_modules/discord.js-commando/src/client.js
- replace the 1st line from
const discord = require('discord.js');
toconst discord = require('discord.js-light');
However its possible that some things will still break, in which case you will possibly need to make more edits to commando yourself.
Yes, you right. I must fix a lot in Commando.
Thanks for support.