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
    }
}

Last updated

Was this helpful?