GithubHelp home page GithubHelp logo

pogoeventwatcher's Introduction

Pokemon Go Event Watcher

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

Features

  • 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.

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. Create locales npm run create-locales
  6. 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"],
  // 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"
    }
  ]
}

Discord Bot Permissions

Event Voice Channels Category

  • Manage Channel
  • Manage Permissions

Posting Events

  • Send Messages

Commands

  • 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

Previews

Webhook Example
Voice Channels Example

pogoeventwatcher's People

Contributors

versx avatar clburlison avatar gizdulock avatar ccev avatar turtiesocks avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.