Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function transformAttachmentToDiscordAttachment
import { transformAttachmentToDiscordAttachment } from "https://deno.land/x/discordeno@17.0.0/transformers/reverse/mod.ts";

Parameters

bot: Bot
payload: Attachment

Returns

DiscordAttachment