Hype
DIAdiscord.js - Imagine an app
•Created by Hype on 7/27/2024 in #djs-questions
API help Discord.js 14
I am working on a slash command that takes all players from a link / API with name and ID of a game. These IDs are taken and inserted into another API to get the respective Elo of the player. I display these in several embeds as a ranking list, but unfortunately only a few players (10 out of 50) are displayed for clans with many players (50 players is max). I get an error code for the players that are not displayed. I think the api is overloaded/had too many requests, does anyone know if I can do anything about it in the code or is it really just due to the limited access of the API?
Errors: (for each missing player)
Line 48:
My code:
``````
6 replies
DIAdiscord.js - Imagine an app
•Created by Hype on 7/17/2024 in #djs-questions
Slashcommands with API
Hi, i tried to create a SlashCommand which gets data from https://brawlhalla.fly.dev/v1/glory/id?brawlhalla_id=3145331 but idk why the slash command doesnt work. (im new to js)
32 replies