| Command | Description | Permissions |
|---|---|---|
| !sync | Sync your Dgg subscription and/or username | All Users |
| !syncother @Mention | Sync the mentioned user's Dgg subscription and username | Privileged Users Only |
| !sync-settings [{enable|disable} {subscription|username|all}] | View or change sync settings | Privileged Users Only |
Note: A privileged user is the server owner, the bot owner, or a user with one of the following permissions: Manage Roles, Manage Channels, Manage Server, Administrator.
-
Create a new application in the Discord developer portal
-
Enable required intents
- Open the app's Bot settings
- Under Privileged Gateway Intents, enable Server Members Intent and Message Content Intent
-
Invite the bot to your server
- Navigate to the app's OAuth2 settings
- Under Scopes, toggle the bot checkbox
- Under Bot Permissions, toggle the Manage Roles and Manage Nicknames checkboxes
- Open the Generated URL in your web browser
- Follow the on-screen instructions to complete the process
Docker:
mkdir cfg
cp config.example.json ./cfg/config.json
<edit config.json>
docker-compose up
Console:
git clone https://github.com/destinygg/dggiscord.git .
mkdir cfg
cp config.example.json ./cfg/config.json
<edit config.json>
python3 ./dggiscord/app.py [--config <alternative location>]
docker-compose up -d --build
Database migrations run automatically when the application starts. The system will create a migrations table to track applied migrations, and execute any that are pending. You can manage migrations manually using ./dggiscord/migrate.py.