npm
Repository
DisQada
Preparing search index...
The search index is not available
Home
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
HalfBot
Brand
Type Alias Brand
Brand
:
{
color
:
number
;
logoUrl
:
string
;
name
:
string
;
}
Brand information for the bot.
Type declaration
color
:
number
The bot's primary color, represented as a hexadecimal number.
logo
Url
:
string
The URL to the bot's logo.
name
:
string
The name of the bot.
npm
Repository
DisQada
Half
Bot -
v4.1.0
Bot
The Bot class.
Activities
Options
Represents options for a bot's activities.
Activity
Options
Represents the options for an activity.
Activity
Type
Represents the different types of activities a bot can display.
Base
Command
Data
Basic data structure for commands.
Base
Command
Interaction
Base structure for command interactions.
Base
Data
Basic data structure for the bot.
Bot
Command
The full structure of a command file used by the bot.
Bot
Data
Combined data type that includes base bot data and additional key-value pairs.
Bot
Directories
Directories used by the bot for organizing files and data.
Bot
Event
Represents all types of bot events.
Bot
Options
Options for initializing the bot.
Brand
Brand information for the bot.
ChannelIDs
A collection of channel IDs used by the bot.
Client
Event
Represents the full structure of an event file used by the bot.
Client
Event
Data
Represents the data structure for a client event.
Client
Event
Function
Represents the function executed when a bot event is triggered.
Client
Presence
Status
Represents the possible statuses for a bot's presence.
Command
Data
Data for defining a command, extending Discord's ApplicationCommandData.
Command
Function
Function executed when a bot command is called.
Command
Interaction
Interaction object passed to a command function.
Config
Configuration settings for the bot.
Deployments
Deployment of a bot module
Embed
Represents a Discord embed, used to format rich content.
Embed
Author
Represents the author of an embed.
Embed
Field
Represents a field within an embed.
Embed
Footer
Represents the footer of an embed.
Embed
Image
Represents an image in an embed.
Embed
Thumbnail
Represents a thumbnail image in an embed.
EmojiIDs
A collection of emoji IDs used by the bot.
Fail
Record
A record indicating failed module registration.
GuildIDs
A collection of IDs for different guilds (servers).
IDs
A collection of various IDs used by the bot.
Key
Any
Obj
A key-value mapping where keys are strings and values can be of any type.
Key
Str
Obj
A key-value mapping where keys are strings and values are strings.
Modules
Possible types for a bot module.
Presence
Data
Represents the presence data for a bot.
Presence
Status
Data
Represents the status of a bot's presence.
Record
Record of the bot's module registration status.
Repeating
Event
Represents the full structure of a repeating event file.
Repeating
Event
Data
Represents the data structure for a repeating event.
Repeating
Event
Function
Represents the function executed on a repeating interval.
RoleIDs
A collection of role IDs used by the bot.
Style
Options
Options for styling the bot's responses.
Success
Record
A record indicating successful module registration.
Timestamp
Represents an ISO 8601 timestamp. Example: 2022-09-27 18:00:00.000
Time
Units
Symbols for time units
UserIDs
A collection of user IDs used by the bot.
apply
Style
Apply brand style to an multiple embeds.
as
Embed
Convert a text to an embed.
as
Number
Get a color as a number.
as
String
Get a color as a string.
Brand information for the bot.