SettingsBuilder
A simple class to retain some generic data before a Discord Client can be started, for instance:
- The Discord bot token/authentication
- The Discord bot intents
Usage:
Properties
The SettingsBuilder instance has no set properties!
Methods
setDiscordToken
SettingsBuilder : setDiscordToken () -> Builders.SettingsBuilder
discordToken: string
Sets the Discord bot token.
setIntents
SettingsBuilder : setIntents () -> Builders.SettingsBuilder
discordIntents: IntentsBuilder
Sets the Discord bot intents.
Functions
new
SettingsBuilder . new () -> ()
discordToken: string
discordIntents: IntentsBuilder?
Constructs a new instance of SettingsBuilder.