Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.44 KB

schemas_config.md

File metadata and controls

41 lines (23 loc) · 1.44 KB

Bot / schemas/config

Module: schemas/config

Table of contents

Type Aliases

Variables

Type Aliases

Config

Ƭ Config: Object

Type declaration

Name Type Description
debug boolean Determines if the client should run in debug mode. When in debug mode, the client will log additional information reagarding things such as commands, events, and listeners.
devServer string The guild ID for your development server. When working with a Discord bot, it is highly recommended to have a server that is dedicated to development purposes. This server should be used to test commands and features before deploying them globally. Deploying commands globally takes time, however, deploying to a specific is nearly instant.
token string Represents the access token for your client. This token is used to authenticate your client with Discord's API, which must not be shared with anyone. See https://discord.com/developers/docs/topics/oauth2

Defined in

src/schemas/config.ts:36

Variables

config

Const config: ZodObject<Config>

Defined in

src/schemas/config.ts:4