Type Definitions
Configuration
An <Object> containing the default configuration for Pronto
Type
-
Object
Properties
-
settings
Object
The default settings object
Properties
-
PERMISSIONS_INTEGER
Discord.PermissionResolvable
The minimum <Discord.Permissions> integer that Pronto requires
-
prefix
string
The default command prefix
-
longDate
string
The default dateformat mask for date-time groups
-
shortDate
string
The default dateformat mask for shortened date strings
-
prontoLogo
string
The image URL to display as the default logo for Pronto
-
lessonCron
string
The default cron expression for scheduled lesson reminders
-
timezone
string
The default moment-timezone to schedule lesson reminders in
-
PERMISSIONS_INTEGER
-
ids
Object
An <Object> of constant identifiers/snowflakes that Pronto uses
Properties
-
DEFAULT_GUILD
Discord.Snowflake
The <Guild.id> of the 'master' guild
-
DEVELOPER_ID
Discord.Snowflake
The <User.id> of the developer
-
DEFAULT_GUILD
-
defaults
Object.<string, (config.DefaultChannel|config.DefaultRole)>
An <Object> of all the different channels/roles that Pronto recognises
-
emojis
Object
The default emojis object
Properties
-
success
models.Emoji
The default success <Emoji>
-
error
models.Emoji
The default error <Emoji>
-
success
-
colours
models.Colours
The default <Colours> object
Source
DefaultChannel
An <Object> describing a <GuildChannel> that Pronto requires
Type
-
Object
Properties
-
name
string
The name of the required <GuildChannel>
-
type
config.DefaultChannelType
The type of the required <GuildChannel>
-
description
string
<nullable>
The <TextChannel.topic> of the channel for the created <GuildChannel>
-
parent
string
<nullable>
The name of the parent <CategoryChannel> for the created <GuildChannel>
Source
DefaultChannelType
The type of the required <GuildChannel>
Type
-
'TEXT'
|'CATEGORY'
Source
DefaultRole
An <Object> describing a <Role> that Pronto recognises
Type
-
Object
Properties
-
name
string
The name of the recognised <Role>