Skip to content

2000Arion/discord-widget-invite-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Discord Widget Invite Link API

With this API you can get a link to redirect to the widget's invitelink, even without using the widget.

Use this API like this

Be redirected to a server's widget invitelink:

https://discord.arion2000.xyz/api/discord?guildId=[guildId]

Don't forget to replace [guildId] with the server id!

Error messages will look like this

{
    "error": {
    "de":"Fehler beim Abrufen der API: 400 Bad Request",
    "en":"Error retrieving API: 400 Bad Request"
    }
}

Check the latency to the API server:

https://discord.arion2000.xyz/api/ping

You can also add ?lang=de or ?lang=en to get the latency message in another language.