mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
refactor(ApplicationCommandManager): remove unused assignment (#6063)
This commit is contained in:
@@ -83,7 +83,7 @@ class ApplicationCommandManager extends CachedManager {
|
||||
*/
|
||||
async fetch(id, { guildId, cache = true, force = false } = {}) {
|
||||
if (typeof id === 'object') {
|
||||
({ guildId, cache = true, force = false } = id);
|
||||
({ guildId, cache = true } = id);
|
||||
} else if (id) {
|
||||
if (!force) {
|
||||
const existing = this.cache.get(id);
|
||||
|
||||
Reference in New Issue
Block a user