Uses ccev/pogoinfo to check data for new event information.
- Supports multiple Discord servers.
- Discord channel webhook upon new event data found (also DM).
- Discord commands to post all or only active events to a channel.
- Clone repository
git clone https://github.com/versx/EventWatcher && cd EventWatcher
- Install dependencies
npm install
- Copy config
cp src/config.example.json src/config.json
- Fill out config.json
- Create locales
npm run create-locales
- Start
npm start
{
// Locale translations for Pokemon names
"locale": "en",
// Command prefix
"prefix": "!",
// Discord bot token
"token": "<DISCORD_BOT_TOKEN>",
// List of Discord channel ids to accept bot commands from
"botChannelIds": ["0000000000000000"],
// Owner Discord Id for owner only commands
"adminIds": ["0000000000000000"],
// List of Discord user ids to send event changes to
"userIds": ["0000000000000000"],
// Discord user/role mention string for event changes embed
"mention": "@0000000000000000",
// Webhook channel urls to send event changes to
"webhooks": [],
// List of guilds to update active events channels with
"guilds": [
{
// Guild ID
"id": "0000000000000000",
// Event category channel ID
"eventsCategoryId": "0000000000000000"
}
]
}
Event Voice Channels Category
- Manage Channel
- Manage Permissions
Posting Events
- Send Messages
- Name:
events
- Description:
Send all events or only active events to a specific channel.
- Aliases:
e
- Arguments:
<#channel_id> [active]
Examples:
# Send all events to #pogo-updates channel
!events #pogo-updates
# Send only active events to #pogo-updates channel
!events #pogo-updates active