Type Definitions
Configuration
An <Object> containing the default configuration for Pronto
Type
-
Object
Properties
-
settings
ObjectThe default settings object
Properties
-
PERMISSIONS_INTEGER
Discord.PermissionResolvableThe minimum <Discord.Permissions> integer that Pronto requires
-
prefix
stringThe default command prefix
-
longDate
stringThe default dateformat mask for date-time groups
-
shortDate
stringThe default dateformat mask for shortened date strings
-
prontoLogo
stringThe image URL to display as the default logo for Pronto
-
lessonCron
stringThe default cron expression for scheduled lesson reminders
-
timezone
stringThe default moment-timezone to schedule lesson reminders in
-
PERMISSIONS_INTEGER
-
ids
ObjectAn <Object> of constant identifiers/snowflakes that Pronto uses
Properties
-
DEFAULT_GUILD
Discord.SnowflakeThe <Guild.id> of the 'master' guild
-
DEVELOPER_ID
Discord.SnowflakeThe <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
ObjectThe default emojis object
Properties
-
success
models.EmojiThe default success <Emoji>
-
error
models.EmojiThe default error <Emoji>
-
success
-
colours
models.ColoursThe 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
stringThe name of the recognised <Role>