mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
13 lines
418 B
TypeScript
13 lines
418 B
TypeScript
import { BotWithCache } from "../../deps.ts";
|
|
import createWebhook from "./createWebhook.ts";
|
|
import deleteWebhook from "./deleteWebhook.ts";
|
|
import editWebhook from "./editWebhook.ts";
|
|
import setupMessageWebhookPermChecks from "./message.ts";
|
|
|
|
export default function setupWebhooksPermChecks(bot: BotWithCache) {
|
|
createWebhook(bot);
|
|
deleteWebhook(bot);
|
|
editWebhook(bot);
|
|
setupMessageWebhookPermChecks(bot);
|
|
}
|