Skip to content

Interface: IServerBot ​

Defined in: types/bot.ts:8

Safe bot metadata. Tokens are only returned when issued or rotated.

Properties ​

PropertyTypeDescriptionDefined in
authorizedBynumber-types/bot.ts:27
authorizedByNamestring | null-types/bot.ts:28
channelPermissionMaskstring-types/bot.ts:19
createdAtnumber-types/bot.ts:22
createdBynumber-types/bot.ts:21
descriptionstring | null-types/bot.ts:15
enabledboolean-types/bot.ts:20
expiresAtnumber | null-types/bot.ts:24
iconIMedia | null-types/bot.ts:29
idnumber-types/bot.ts:9
lastUsedAtnumber | null-types/bot.ts:23
namestring-types/bot.ts:12
roleIdsnumber[]-types/bot.ts:16
serverIdnumber-types/bot.ts:11
serverPermissionMaskstringHexadecimal permission ceilings, intersected with the bot's current roles.types/bot.ts:18
statusServerBotStatus-types/bot.ts:25
statusReasonstring | null-types/bot.ts:26
userIdnumber-types/bot.ts:10
usernamestringThe bot's @handle: a username, unique on this instance like anyone's.types/bot.ts:14

Released under the GNU Affero General Public License v3.0.