mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
* feat: base plugin lib idea * fix: stuff * fmt * fix: imports and exports * fix: errors & tests * fix: remove logs
7 lines
340 B
TypeScript
7 lines
340 B
TypeScript
import { Bot } from "../../bot.ts";
|
|
|
|
/** Delete the attached integration object for the guild with this id. Requires MANAGE_GUILD permission. */
|
|
export async function deleteIntegration(bot: Bot, guildId: bigint, id: bigint) {
|
|
await bot.rest.runMethod<undefined>(bot.rest, "DELETE", bot.constants.routes.GUILD_INTEGRATION(guildId, id));
|
|
}
|