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 395 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 396 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 409 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 483 days ago