i am trying to create a discord bot to display some informations about cryptocurrencies and there is the following error SyntaxError: await is only valid in async function, there is the part of the code that make me problems :
const [coin, vsCurrency] = args;
try {
const { data } = await axios.get(
`https://api.coingecko.com/api/v3/simple/price?ids=${coin}&vs_currencies=${vsCurrency}`
);