All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Vote

Get Voters

GET /bot/:id/voters

Path Parameters

Name
Type
Description

Query Parameters

Name
Type
Description

Get Specific Vote

GET /bot/:id/voters/:userId

Path Parameters

Name
Type
Description

String

It specifies which bot data you will withdraw.

page

String

limit

String

How many data will appear on each page.

id

String

It specifies which bot data you will withdraw.

userId

String

{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}

Bot

Get Bot

GET /bot/:id

Path Parameters

Name
Type
Description

id

String

It specifies which bot data you will withdraw.

{
   error: "You entered invalid bot token."
}
{
    success: 'Certificate successfully applied.'
}
{
    // Response
}

Announcements

Get Announcements

GET /bot/:id/announcements

Path Parameters

Name
Type
Description

Add Announcement

POST /bot/:id/announcements

Path Parameters

Name
Type
Description

Headers

Name
Type
Description

Delete Announcement

DELETE /bot/:id/announcements/:announcementId

Path Parameters

Name
Type
Description

id

String

It specifies which bot data you will withdraw.

id

String

It specifies which bot data you will withdraw.

Authorization*

String

id

String

It specifies which bot data you will withdraw.

announcementId

String

{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}

Commands

Get Commands

GET /bot/:id/commands

Path Parameters

Name
Type
Description

Add Command

POST /bot/:id/commands

Path Parameters

Name
Type
Description

Headers

Name
Type
Description

Request Body

Name
Type
Description

Edit Command

POST /bot/:id/commands

Path Parameters

Name
Type
Description

Headers

Name
Type
Description

Request Body

Name
Type
Description

Delete Command

DELETE /bot/:id/commands/:commandId

Path Parameters

Name
Type
Description

Headers

Name
Type
Description

syntax*

String

Usage of command

id*

string

It specifies which bot data you will withdraw.

id

String

It specifies which bot data you will withdraw.

Authorization*

String

name*

String

Name of command

description*

String

Description of command

syntax*

String

Usage of command

category

String

Category of command

id

String

It specifies which bot data you will withdraw.

Authorization*

String

id*

String

ID of command

category

String

Category of command

name*

String

Name of command

description*

String

Description of command

id

String

It specifies which bot data you will withdraw.

commandId

String

Authorization*

String

{
  voted: true/false
}
{
 "error": "You entered an invalid bot token."
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}
{
    // Response
}