Skip to content

Commit 9aadc9f

Browse files
authored
🐛 Remove unnecessary ->done() from command unregistration (#128)
1 parent d8b0777 commit 9aadc9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Laracord.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,12 @@ public function unregisterApplicationCommand(string $id, ?string $guildId = null
682682
return;
683683
}
684684

685-
$guild->commands->delete($id)->done();
685+
$guild->commands->delete($id);
686686

687687
return;
688688
}
689689

690-
$this->discord()->application->commands->delete($id)->done();
690+
$this->discord()->application->commands->delete($id);
691691
}
692692

693693
/**

0 commit comments

Comments
 (0)