blagus
This commit is contained in:
parent
693c876027
commit
d2cf41b28f
@ -66,6 +66,7 @@ class ImportCommand extends SlashCommand {
|
|||||||
if(hook) await guild.updateWebhook('messages', hook);
|
if(hook) await guild.updateWebhook('messages', hook);
|
||||||
} else if (version === '3') {
|
} else if (version === '3') {
|
||||||
delete webhook._id;
|
delete webhook._id;
|
||||||
|
delete webhook.feature;
|
||||||
await this.client.storageManager.mongodb.webhooks.updateOne({ feature: 'messages', guild: guild.id }, webhook);
|
await this.client.storageManager.mongodb.webhooks.updateOne({ feature: 'messages', guild: guild.id }, webhook);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user