Added more node name fallbacks, move slash command acknowledge to beginning of image command
This commit is contained in:
parent
0095643dbf
commit
df43f9eb9d
6 changed files with 9 additions and 7 deletions
|
@ -52,6 +52,10 @@ class ImageCommand extends Command {
|
|||
params: {}
|
||||
};
|
||||
|
||||
if (this.type === "application") {
|
||||
await this.acknowledge();
|
||||
}
|
||||
|
||||
if (this.constructor.requiresImage) {
|
||||
try {
|
||||
const image = await imageDetect(this.client, this.message, this.interaction, this.options, true);
|
||||
|
@ -95,8 +99,6 @@ class ImageCommand extends Command {
|
|||
let status;
|
||||
if (magickParams.params.type === "image/gif" && this.type === "classic") {
|
||||
status = await this.processMessage(this.message);
|
||||
} else {
|
||||
await this.acknowledge();
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue