Discord-Inventor
This extension enables you to build bots that can interact with Discord servers, send and monitor messages, and handle real-time events.
Features
- Real-time monitoring of Discord channels using WebSockets.
- Send, edit, and delete messages in Discord channels.
- Cooldown functionality to prevent rate-limiting.
- Custom event handling for new messages and errors.
DiscordEvents
Discord Channel Monitor Extension - Monitors Discord channels in real-time using WebSocket without exceeding API limits.
Events:
OnDiscordEvent

Triggered when a Discord event occurs. Returns tag and event information.
| Parameter | Type |
|---|---|
| tag | text |
| eventInfoList | list |
OnResponse

Triggered when a response is received.
| Parameter | Type |
|---|---|
| tag | text |
| response | text |
OnError

Triggered when an error occurs.
| Parameter | Type |
|---|---|
| tag | text |
| error | text |
Methods:
StartMonitoring

Starts monitoring Discord channels in real-time.
| Parameter | Type |
|---|---|
| tag | text |
StopMonitoring

Stops monitoring Discord channels.
| Parameter | Type |
|---|---|
| tag | text |
Properties:
SetBotToken
![]()
Sets the Discord Bot Token for authentication.
DiscordModeration
Discord Moderation Extension - Provides tools for server moderation, including checking user permissions, roles, and more.
Events:
OnResponse

Triggered when a successful response is received.
| Parameter | Type |
|---|---|
| tag | text |
| response | text |
OnError

Triggered when an error occurs.
| Parameter | Type |
|---|---|
| tag | text |
| error | text |
Methods:
CheckUserPermission

Checks if a user has a specific permission in a guild.
| Parameter | Type |
|---|---|
| guildId | text |
| userId | text |
| permission | text |
| tag | text |
CheckAdminOrOwner

Checks if a user is an administrator or the owner of the bot.
| Parameter | Type |
|---|---|
| guildId | text |
| userId | text |
| tag | text |
KickUser

Kicks a user from the specified guild.
| Parameter | Type |
|---|---|
| guildId | text |
| userId | text |
| reason | text |
| tag | text |
BanUser

Bans a user from the specified guild.
| Parameter | Type |
|---|---|
| guildId | text |
| userId | text |
| reason | text |
| deleteMessageDays | number |
| tag | text |
UnbanUser

Unbans a user from the specified guild.
| Parameter | Type |
|---|---|
| guildId | text |
| userId | text |
| tag | text |
Properties:
SetBotToken
![]()
Sets the Discord Bot Token for authentication.
DiscordText
Discord Bot Message Extension - Allows sending, editing, deleting, and monitoring messages on Discord.
Events:
OnResponse

Triggered when a successful response is received.
| Parameter | Type |
|---|---|
| tag | text |
| response | text |
OnError

Triggered when an error occurs.
| Parameter | Type |
|---|---|
| tag | text |
| error | text |
OnCooldown

Triggered when a command is on cooldown. Returns the remaining cooldown time.
| Parameter | Type |
|---|---|
| tag | text |
| command | text |
| secondsRemaining | number |
Methods:
SendMessage

Sends a message to the specified Discord channel in the given server.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| content | text |
| tag | text |
| cooldownSeconds | number |
EditMessage

Edits an existing message in the specified channel within the given server.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| messageId | text |
| newContent | text |
| tag | text |
| cooldownSeconds | number |
DeleteMessage

Deletes a message from the specified channel in the given server.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| messageId | text |
| tag | text |
| cooldownSeconds | number |
PinMessage

Pins a message in the specified Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| messageId | text |
| tag | text |
| cooldownSeconds | number |
UnpinMessage

Unpins a message in the specified Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| messageId | text |
| tag | text |
| cooldownSeconds | number |
GetMessages

Fetches messages from a specified Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| limit | number |
| tag | text |
| cooldownSeconds | number |
CreateThread

Creates a thread in a Discord channel with a specified message.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| messageId | text |
| threadName | text |
| autoArchiveDuration | number |
| tag | text |
| cooldownSeconds | number |
UpdateThread

Updates the name or auto-archive duration of a thread in a Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| threadId | text |
| newName | text |
| autoArchiveDuration | number |
| tag | text |
| cooldownSeconds | number |
DeleteThread

Deletes a thread from a Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| threadId | text |
| tag | text |
| cooldownSeconds | number |
AddUserToThread

Adds a user to a thread in a Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| threadId | text |
| userId | text |
| tag | text |
| cooldownSeconds | number |
RemoveUserFromThread

Removes a user from a thread in a Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| threadId | text |
| userId | text |
| tag | text |
| cooldownSeconds | number |
ListActiveThreads

Gets a list of all active threads in a specified Discord channel.
| Parameter | Type |
|---|---|
| guildId | text |
| channelId | text |
| tag | text |
| cooldownSeconds | number |
Properties:
SetBotToken
![]()
Sets the Discord Bot Token for authentication.
-
This documentation was generated using Akshat Developer's Documentation Generator
-
This extension was built with Fast Cli
Files
AIX (ProGuarded)
- AIX (V1): com.bosonshiggs.discordinventor.aix (450.8 KB)
- AIX (V2): com.bosonshiggs.discordinventor.aix (468.6 KB)
AIA
- AIA (V1): DiscordInventor.aia (240.1 KB)
- AIA (V2): DiscordInventor.aia (472.8 KB)
Docs
-
Our builder with Python: GitHub - BosonsHiggs/brazbot.py: discordia.py is a Brazilian library for creating bots for Discord using the Python language
Click here and buy me a coffee.







