Fetch user guilds
curl --request GET \
--url https://api.duckybot.xyz/guilds \
--header 'Token: <token>'{
"code": 200,
"message": "Guilds for '598958193032560642' fetched successfully.",
"data": [
{
"name": "đ Ducky's Pond",
"id": "1228508072289370172",
"icon": "https://cdn.discordapp.com/icons/1228508072289370172/78c23e643bd80241aa013b88cd0225cb.png",
"members": 1790,
"owner": "598958193032560642",
"role": "Owner",
"ducky": true,
"plus": {
"plus": {
"userid": "1257389588910182411",
"guilds": [
"1228508072289370172"
],
"slots": 0
},
"active": true
},
"permissions": {
"ERLC_STAFF": true,
"DUCKY_PLUS_GUILD": true,
"QUALITY_ASSURANCE": true,
"ERLC_ADMIN": true,
"DOCWRITER": true,
"FOUNDER": true,
"ERLC_MANAGER": true,
"MANAGE_SERVER": true,
"EXECUTIVE": true,
"BOT_DEVELOPER": true,
"WEB_DEVELOPER": true,
"SETUP": true,
"SESSION_STARTER": true,
"MOD": true,
"SUPPORT": true,
"MANAGEMENT": true,
"ADMIN": true,
"DUCKY_STAFF": true,
"ERLC_LINKED": true,
"DUCKY_PLUS_MEMBER": true
}
}
// ...
]
}
Data Endpoints
Fetch user guilds
Fetch all guilds a user is in that has Ducky.
GET
/
guilds
Fetch user guilds
curl --request GET \
--url https://api.duckybot.xyz/guilds \
--header 'Token: <token>'{
"code": 200,
"message": "Guilds for '598958193032560642' fetched successfully.",
"data": [
{
"name": "đ Ducky's Pond",
"id": "1228508072289370172",
"icon": "https://cdn.discordapp.com/icons/1228508072289370172/78c23e643bd80241aa013b88cd0225cb.png",
"members": 1790,
"owner": "598958193032560642",
"role": "Owner",
"ducky": true,
"plus": {
"plus": {
"userid": "1257389588910182411",
"guilds": [
"1228508072289370172"
],
"slots": 0
},
"active": true
},
"permissions": {
"ERLC_STAFF": true,
"DUCKY_PLUS_GUILD": true,
"QUALITY_ASSURANCE": true,
"ERLC_ADMIN": true,
"DOCWRITER": true,
"FOUNDER": true,
"ERLC_MANAGER": true,
"MANAGE_SERVER": true,
"EXECUTIVE": true,
"BOT_DEVELOPER": true,
"WEB_DEVELOPER": true,
"SETUP": true,
"SESSION_STARTER": true,
"MOD": true,
"SUPPORT": true,
"MANAGEMENT": true,
"ADMIN": true,
"DUCKY_STAFF": true,
"ERLC_LINKED": true,
"DUCKY_PLUS_MEMBER": true
}
}
// ...
]
}
{
"code": 200,
"message": "Guilds for '598958193032560642' fetched successfully.",
"data": [
{
"name": "đ Ducky's Pond",
"id": "1228508072289370172",
"icon": "https://cdn.discordapp.com/icons/1228508072289370172/78c23e643bd80241aa013b88cd0225cb.png",
"members": 1790,
"owner": "598958193032560642",
"role": "Owner",
"ducky": true,
"plus": {
"plus": {
"userid": "1257389588910182411",
"guilds": [
"1228508072289370172"
],
"slots": 0
},
"active": true
},
"permissions": {
"ERLC_STAFF": true,
"DUCKY_PLUS_GUILD": true,
"QUALITY_ASSURANCE": true,
"ERLC_ADMIN": true,
"DOCWRITER": true,
"FOUNDER": true,
"ERLC_MANAGER": true,
"MANAGE_SERVER": true,
"EXECUTIVE": true,
"BOT_DEVELOPER": true,
"WEB_DEVELOPER": true,
"SETUP": true,
"SESSION_STARTER": true,
"MOD": true,
"SUPPORT": true,
"MANAGEMENT": true,
"ADMIN": true,
"DUCKY_STAFF": true,
"ERLC_LINKED": true,
"DUCKY_PLUS_MEMBER": true
}
}
// ...
]
}
Headers
The Ducky session token of the user.
Response Data
In this endpoint, the response data is an array of objects.
Show properties
Show properties
The guildâs name.
The guildâs ID.
The guildâs icon URL.
The guildâs membercount.
The guild ownerâs ID.
The memberâs role within the guild.Can either be
Owner, Manager, Administrator, or Moderator.Whether or not Ducky is in the guild. As of v1.6.0 Stable, this is always
true and therefore will soon be deprecated.The guildâs Ducky Plus+ status.
Show properties
Show properties
Whether or not Ducky Plus+ is active within this guild.
âI