mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-24 17:55:56 +00:00
update the api endpoint
This commit is contained in:
parent
49c0c60f12
commit
d5882af80a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module.exports = {
|
||||||
const apiKeyUrl = process.env.VALORANT_API_URL;
|
const apiKeyUrl = process.env.VALORANT_API_URL;
|
||||||
const apiKey = process.env.VALORANT_API_KEY;
|
const apiKey = process.env.VALORANT_API_KEY;
|
||||||
|
|
||||||
const url = `https://${apiKeyUrl}/player/${formattedUsername}/${statsType}`;
|
const url = `https://${apiKeyUrl}/valorant/player/${formattedUsername}/${statsType}`;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await interaction.deferReply();
|
await interaction.deferReply();
|
||||||
|
|
Loading…
Reference in a new issue