đ ď¸ This documentation is a work-in-progress, and is actively being written. đ ď¸
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
}
}
// ...
]
}
Fetch all guilds a user is in that has Ducky.
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
}
}
// ...
]
}
Show properties
Owner, Manager, Administrator, or Moderator.true and therefore will soon be deprecated.Show properties