forked from Supositware/Haha-Yes
Add the prefix used
This commit is contained in:
parent
769fecfd87
commit
f5f7b48935
2 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,8 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
interaction.prefix = '/';
|
||||
|
||||
const args = {};
|
||||
// https://discord-api-types.dev/api/discord-api-types-v10/enum/ApplicationCommandOptionType
|
||||
interaction.options.data.forEach(arg => {
|
||||
|
|
|
@ -337,6 +337,7 @@ export default {
|
|||
}
|
||||
message.user = message.author;
|
||||
message.isMessage = true;
|
||||
message.prefix = `${messageArray[0]} `;
|
||||
|
||||
let waitingmsg;
|
||||
const toDelete = [];
|
||||
|
@ -368,6 +369,7 @@ export default {
|
|||
msg.delete();
|
||||
});
|
||||
};
|
||||
|
||||
const args = {};
|
||||
const argsLength = command.data.options.length;
|
||||
|
||||
|
|
Loading…
Reference in a new issue