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 598 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 601 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 729 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 764 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 972 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 972 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 977 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 977 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 977 days ago