export async function main(response_url: string, text: string) {
const x = await fetch(response_url, {
method: "POST",
body: JSON.stringify({ text: `ROGER ${text}` }),
});
const username = await Deno.env.get("WM_USERNAME");
console.log(`user = ${username}`);
}
Submitted by hugo697 388 days ago
export async function main(
response_url: string,
text: string,
) {
const x = await fetch(response_url, {
method: 'POST',
body: JSON.stringify({ text: `ROGER ${text}` }),
});
const username = await Deno.env.get('WM_USERNAME')
console.log(`user = ${username}`)
Submitted by admin 390 days ago
export async function main(response_url: string, text: string) {
const x = await fetch(response_url, {
method: "POST",
body: JSON.stringify({ text: `ROGER ${text}` }),
});
const username = await Deno.env.get("WM_USERNAME");
console.log(`user = ${username}`);
}
Submitted by hugo697 403 days ago
export async function main(
response_url: string,
text: string,
) {
const x = await fetch(response_url, {
method: 'POST',
body: JSON.stringify({ text: `ROGER ${text}` }),
});
const username = await Deno.env.get('WM_USERNAME')
console.log(`user = ${username}`)
Submitted by henri186 477 days ago