#can you await line 38
1 messages · Page 1 of 1 (latest)
/home/runner/Operation-Management-FatalIntentionalGigabyte/commands/tr.js:38
await interaction.reply({ embeds: [embed] });
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
make sure that its in an asyncfunction
on line 28, you're making the callback a normal non async function
replace function with async function
did that still happens @hard prairie
what still happens?
same error
which one?
/home/runner/Operation-Management-FatalIntentionalGigabyte/commands/tr.js:38
await interaction.reply({ embeds: [embed] });
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules.