import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
type DiscordWebhook = {
webhook_url: string;
};
export async function main(discord_webhook: DiscordWebhook, message: string) {
const webhook = new discordwebhook(discord_webhook.webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by admin 460 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
type DiscordWebhook = {
webhook_url: string;
};
export async function main(discord_webhook: DiscordWebhook, message: string) {
const webhook = new discordwebhook(discord_webhook.webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by admin 463 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
import type { Resource } from 'https://deno.land/x/windmill@v1.85.0/mod.ts'
export async function main(discord_webhook: Resource<'discord_webhook'>, message: string) {
const webhook = new discordwebhook(discord_webhook.webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by adam186 592 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
import type { Resource } from 'https://deno.land/x/windmill@v1.70.1/mod.ts'
export async function main(discord_webhook: Resource<'discord_webhook'>, message: string) {
const webhook = new discordwebhook(discord_webhook.webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by adam186 626 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
import type { Resource } from 'https://deno.land/x/windmill@v1.27.2/mod.ts'
export async function main(discord_webhook: Resource<'discord_webhook'>, message: string) {
const webhook = new discordwebhook(discord_webhook.webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by admin 834 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
import type { Resource } from 'https://deno.land/x/windmill@v1.27.2/mod.ts'
export async function main(webhook_url: Resource<'discord_webhook'>, message: string) {
const webhook = new discordwebhook(webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by admin 834 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
export async function main(webhook_url: string, message: string) {
const webhook = new discordwebhook(webhook_url);
const ret = await webhook.createMessage(message);
return ret;
}
Submitted by lplit 839 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
export async function main(webhook_url: string, message: string) {
const webhook = new discordwebhook(webhook_url);
const ret= await webhook.createMessage(message);
return ret;
}
Submitted by lplit 839 days ago
import discordwebhook from "https://deno.land/x/discordwebhook/mod.ts";
export async function main(webhook_url: string, message: string) {
const webhook = new discordwebhook(webhook_url);
const ret= await webhook.createMessage(message)
}
Submitted by lplit 839 days ago