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 425 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 427 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 440 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 514 days ago