clburlison / EventWatcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon Go Event Watcher

Uses ccev/pogoinfo to check data for new event information.

Features

  • Discord channel webhook upon new event data found (also DM).
  • Discord commands to post all or only active events to a channel.

Installation

  1. Clone repository git clone https://github.com/versx/EventWatcher && cd EventWatcher
  2. Install dependencies npm install
  3. Copy config cp src/config.example.json src/config.json
  4. Fill out config.json
  5. Start npm start

Configuration

{
    // 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"],
    // List 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": []
}

Commands

  • Name: events
  • Description: Replies with all events or only the active ones, optionally it'll send it to a specific channel.
  • Aliases: e
  • Arguments: [active] [#channel_id]

Examples:

# Reply to current channel/dm with all events
!events
# Send all events to #pogo-updates channel
!events #pogo-updates
# Reply to current channel/dm with only active events
!events active
# Send only active events to #pogo-updates channel
!events active #pogo-updates

Previews

Webhook Example

About


Languages

Language:JavaScript 100.0%