Fix replying using chat effect commands (#9101)
This commit is contained in:
parent
c0d69e1d30
commit
a2c5a59b22
4 changed files with 16 additions and 17 deletions
|
@ -65,7 +65,7 @@ export async function runSlashCommand(
|
|||
let error = result.error;
|
||||
if (result.promise) {
|
||||
try {
|
||||
if (cmd.category === CommandCategories.messages) {
|
||||
if (cmd.category === CommandCategories.messages || cmd.category === CommandCategories.effects) {
|
||||
messageContent = await result.promise;
|
||||
} else {
|
||||
await result.promise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue