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 56 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 70 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 631 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 633 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 646 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 720 days ago