LFG bot designed to operate within a single server. The main idea is to allow the editing of almost any information in the bot using commands. Management is available only to roles with "Administrator" permission level.
/activity add
— Add a new activity to the database.
This will immediately update the /create
and /activity
commands, adding the newly created activity.
Parameters:
name
— Name of the new activity. Standard and custom emojis can be used here.members
— Maximum number of participants for the activity. The number must be greater than 1 (2 or more).banner
— URL of the image to be displayed under the activity.
If the image doesn't load, try restarting Discord.
If this doesn't help, the image can't be loaded from the specified URL.
Try uploading the image as a file.banner_file
— File to be used as a banner.
Any file type is allowed, but for the best results, use images.
You can select the file from your file explorer or copy and paste it (Ctrl + V) directly into the field./activity remove
— Remove an existing activity from the database.
This will update the /create
and /activity
commands.
The bot can send a message about a created LFG to a selected channel. These messages can be customized.
/admin promotes list
— Retrieve all set custom messages with their IDs.
The number before the message is the identifier.
/admin promotes remove
— Remove a custom message by its ID.
/admin promotes add
— Add a custom message. Templates supported:
{AUTHOR}
— will be replaced with a link to the author.{DESCRIPTION}
— will be replaced with the LFG description.{DATE}
— will be replaced with the LFG date.{MAX_MEMBERS}
— will be replaced with the maximum number of participants for the LFG.{NAME}
— will be replaced with the LFG name.{MESSAGE_URL}
— will be replaced with a link to the channel and the original LFG message.These templates are optional. Use them as needed.
/admin set lfg_channel
— Set the channel where the bot allows the /create
command to be used.
If the channel is not specified, the /create
command will be disabled.
/admin set promo_channel
— Set the channel where the bot will notify others about the created LFG.
If the channel is not specified, notifications will not be created.
docker pull tembeon/omega
.OMEGA_SERVER_ID
— ID of the server where the bot will operate.OMEGA_TOKEN
— Bot token.Requirements:
Steps:
dart pub get
to install dependencies.dart build exe bin/bot.dart
to build the executable. The binary will be located in the bin
directory.[!TIP] If you want to build the bot for Windows, run
dart build
on Windows OS. For Linux, run it on Linux OS. The same applies to macOS.Generated executable always has a file extension
.exe
, but it will be run only for the appropriate OS.