Properties
Readonly bots
bots
: { botLists
(listType
: ListType, pages
?: number): RoutesInfo; checkBotVotes
(botId
: string, userId
: string, token
: string): RoutesInfo; getBot
(id
: string): RoutesInfo; searchBots
(query
: string, pages
?: number): RoutesInfo; updateBot
(id
: string, options
: { body
: { servers
: number; shards
: number; }; token
: string; }): RoutesInfo; } = ...
Type declaration
-
botLists:function
-
checkBotVotes:function
- checkBotVotes(botId: string, userId: string, token: string): RoutesInfo
-
Parameters
-
botId: string
-
userId: string
-
token: string
-
getBot:function
-
searchBots:function
- searchBots(query: string, pages?: number): RoutesInfo
-
Parameters
-
query: string
-
Optional pages: number
-
updateBot:function
- updateBot(id: string, options: {
body: {
servers: number;
shards: number;
};
token: string;
}): RoutesInfo
-
Parameters
-
id: string
-
options: {
body: {
servers: number;
shards: number;
};
token: string;
}
-
body: {
servers: number;
shards: number;
}
-
servers: number
-
shards: number
-
token: string
Readonly server
server
: { getServer
(id
: string): RoutesInfo; } = ...