Edit Server Config
Edit Guild Config
POST http://bot.julman.fr/api/server/:server_id
Path Parameters
Name
Type
Description
server_id
string
The Server ID to edit config
Headers
Name
Type
Description
Authorization
string
Your Discord Bearer, need scope identify
Request Body
Name
Type
Description
prefix
string
The new prefix to set
remove_command
boolean
Set if command usage must be removed
suggest
string
The new suggest text channel ID
{
"code": 200,
"message": "OK, the config has changed",
"new_config": {
"prefix": string,
"remove_commands": boolean,
"suggest":" id
}
}{
"code": 401,
"message": "Unauthorized, please login" or "Unauthorized, user not found in database"
}{
"code": 403,
"message": "Forbidden, you do not have permission"
}{
code: 500,
message: "Internal Server Error, please retry later"
}
Last updated
Was this helpful?