Duel Reminder
The Duel Reminder module automatically sends daily embeds with duel strategies for Dark War Survival. Each day of the week has its own template with a dedicated strategy.
Enabling the Module
Enable the module
Dashboard → Your server → toggle Duel Reminder
Configure channel and time
Click Edit and configure the channel and send time
Save
Save changes
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
channel_id | string / null | null | Channel for reminders (required) |
send_hour | number (0–23) | 8 | Send hour |
send_minute | number (0–59) | 0 | Send minute |
timezone_offset | number | 2 | Timezone offset (UTC+X) |
last_message_id | string / null | — | ID of last sent message (auto) |
templates | object / null | null | Custom templates (null = defaults) |
Dashboard — Configuration
The edit panel contains:
- Channel — dropdown with text channels
- Send Time — hour + minute fields
- Timezone — UTC offset (e.g., +2 for CEST)
- Templates — per-day template editing (optional)
How It Works
Time check
Every minute the bot checks if the configured time has arrived
Delete previous message
If it's time and it hasn't been sent today, deletes yesterday's message (to keep the channel clean)
Build and send
Builds an embed from the current day's template and sends the new message
Save reference
Saves the message ID (for deletion the next day)
Channel Cleanup
The bot automatically deletes the previous message before sending a new one — this way the channel always contains only the current day's strategy.
Templates
Templates are organized per day of the week:
{
"Monday": {
"content": "@everyone",
"embed": {
"title": "⚔️ Monday Strategy",
"description": "Today we fight with infantry...",
"color": "#E74C3C",
"image": "https://...",
"footer": { "text": "Good luck!" }
}
},
"Tuesday": { "..." : "..." },
"Wednesday": { "..." : "..." }
}Default Templates
If templates in the configuration is null, the bot uses default templates from the duel_templates.json file.
Custom Templates
Through the dashboard, you can override templates for each day of the week with your own:
- Text above the embed (content)
- Embed title
- Description (strategy)
- Color
- Image
- Thumbnail
- Footer
Commands
/duel send
Manually sends today's reminder (Admin only).
Useful for:
- First test after configuration
- Re-sending if something went wrong
- Forcing an immediate send
/duel preview
Preview of today's template without sending to the channel (ephemeral).
Timezone
The bot uses the configured UTC offset to:
- Determine "today's" day of the week
- Check if the send time has arrived
Timezone Example
Setting timezone_offset: 2 (UTC+2 / CEST) means that send_hour: 8 will send the message at 8:00 AM Polish summer time (6:00 UTC).
Listened Events
The module does not listen to Discord events — it works exclusively on a scheduled task (tasks.loop).
Scheduled Task
_daily_check— checks all servers with the module enabled every minute
Tips
Best Practices
- Set
send_hourto one hour before the typical duel time in the game - Use
content: "@everyone"in the template to ping the entire server - Set up a dedicated channel (e.g.,
#duel-strategy) — the bot maintains only one message there - Use images in templates — visual strategies are more readable
Testing
Use /duel preview to see what today's template looks like without sending to the channel. When you're satisfied, /duel send will send it immediately.
Channel Required
The module requires a configured channel_id. Without a channel, reminders will not be sent (but the bot won't report an error — it will simply skip the server).