UsingClient
Extends
BaseClient
Properties
Property | Type | Inherited from |
---|---|---|
cache | Cache | BaseClient.cache |
channels | ChannelShorter | BaseClient.channels |
commands? | CommandHandler | BaseClient.commands |
components? | ComponentHandler | BaseClient.components |
debugger? | Logger | BaseClient.debugger |
emojis | EmojiShorter | BaseClient.emojis |
guilds | GuildShorter | BaseClient.guilds |
interactions | InteractionShorter | BaseClient.interactions |
langs? | LangsHandler | BaseClient.langs |
logger | Logger | BaseClient.logger |
members | MemberShorter | BaseClient.members |
messages | MessageShorter | BaseClient.messages |
middlewares? | Record <string , MiddlewareContext > | BaseClient.middlewares |
options | undefined | BaseClientOptions | BaseClient.options |
reactions | ReactionShorter | BaseClient.reactions |
rest | ApiHandler | BaseClient.rest |
roles | RoleShorter | BaseClient.roles |
templates | TemplateShorter | BaseClient.templates |
threads | ThreadShorter | BaseClient.threads |
users | UsersShorter | BaseClient.users |
webhooks | WebhookShorter | BaseClient.webhooks |
Accessors
applicationId
Parameters
Parameter | Type |
---|---|
id | string |
Returns
string
Source
seyfert/src/client/base.ts:134
botId
Parameters
Parameter | Type |
---|---|
id | string |
Returns
string
Source
seyfert/src/client/base.ts:126
proxy
Returns
Source
seyfert/src/client/base.ts:138
Methods
getRC()
Type parameters
Type parameter | Value |
---|---|
T extends InternalRuntimeConfigHTTP | InternalRuntimeConfig | InternalRuntimeConfigHTTP | InternalRuntimeConfig |
Returns
Promise
<Object
& Omit
<T
, "locations"
| "debug"
> & Object
>
Inherited from
BaseClient.getRC
Source
seyfert/src/client/base.ts:300
loadCommands()
Parameters
Parameter | Type |
---|---|
dir ? | string |
Returns
Promise
<void
>
Inherited from
BaseClient.loadCommands
Source
seyfert/src/client/base.ts:272
loadComponents()
Parameters
Parameter | Type |
---|---|
dir ? | string |
Returns
Promise
<void
>
Inherited from
BaseClient.loadComponents
Source
seyfert/src/client/base.ts:280
loadLangs()
Parameters
Parameter | Type |
---|---|
dir ? | string |
Returns
Promise
<void
>
Inherited from
BaseClient.loadLangs
Source
seyfert/src/client/base.ts:288
setServices()
Parameters
Parameter | Type |
---|---|
__namedParameters | ServicesOptions |
Returns
void
Inherited from
BaseClient.setServices
Source
seyfert/src/client/base.ts:142
start()
Parameters
Parameter | Type |
---|---|
options | Pick <DeepPartial <StartOptions >, | "token" | "langsDir" | "commandsDir" | "componentsDir" | "connection" > |
Returns
Promise
<void
>
Inherited from
BaseClient.start
Source
seyfert/src/client/base.ts:204
t()
Parameters
Parameter | Type |
---|---|
locale | string |
Returns
__InternalParseLocale
<DefaultLocale
> & Object
Inherited from
BaseClient.t
Source
seyfert/src/client/base.ts:296
uploadCommands()
Parameters
Parameter | Type |
---|---|
applicationId ? | string |
Returns
Promise
<void
>
Inherited from
BaseClient.uploadCommands