Interface: IServerBot ​
Defined in: types/bot.ts:8
Safe bot metadata. Tokens are only returned when issued or rotated.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
authorizedBy | number | - | types/bot.ts:27 |
authorizedByName | string | null | - | types/bot.ts:28 |
channelPermissionMask | string | - | types/bot.ts:19 |
createdAt | number | - | types/bot.ts:22 |
createdBy | number | - | types/bot.ts:21 |
description | string | null | - | types/bot.ts:15 |
enabled | boolean | - | types/bot.ts:20 |
expiresAt | number | null | - | types/bot.ts:24 |
icon | IMedia | null | - | types/bot.ts:29 |
id | number | - | types/bot.ts:9 |
lastUsedAt | number | null | - | types/bot.ts:23 |
name | string | - | types/bot.ts:12 |
roleIds | number[] | - | types/bot.ts:16 |
serverId | number | - | types/bot.ts:11 |
serverPermissionMask | string | Hexadecimal permission ceilings, intersected with the bot's current roles. | types/bot.ts:18 |
status | ServerBotStatus | - | types/bot.ts:25 |
statusReason | string | null | - | types/bot.ts:26 |
userId | number | - | types/bot.ts:10 |
username | string | The bot's @handle: a username, unique on this instance like anyone's. | types/bot.ts:14 |