Skip to content

Commit

Permalink
Merge branch 'v3' of https://github.com/versx/WhMgr into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
versx committed Feb 7, 2020
2 parents 503c079 + f0eab0e commit 858734f
Show file tree
Hide file tree
Showing 18 changed files with 1,416 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/commands/owner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Owner Commands

**gyms convert** - Check for any pokestops that have converted to gyms and delete them from the database.
**nests** - Post nests in nest channels.
**isbanned** - Check if IP banned from PTC or NIA.
**clean-departed** - Clean departed Discord member subscriptions.
**reset-quests** - Reset and delete quest channels.
**shiny-stats** - Manually post shiny stats.

## **event** | **ev**

### Sub Commands

**list** - List of Pokemon set as event Pokemon.
Alias: **l**
Usage: `event list`

**set** - Set Pokemon as event Pokemon list. (overwrites current list)
Alias: **s**
Usage: `event set <pokemon>`

* `<pokemon>` - Comma delimited list of Pokemon ids.

**add** - Add Pokemon from existing event Pokemon list.
Alias: **a**
Usage: `event add <pokemon>`

* `<pokemon>` - Comma delimited list of Pokemon ids.

**remove** - Remove a Pokemon from event Pokemon list.
Alias: **rm** | **r**
Usage: `event remove <pokemon>`

* `<pokemon>` - Comma delimited list of Pokemon ids.
178 changes: 178 additions & 0 deletions docs/commands/subscriptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
# Subscription Commands

### General

**enable** - Enable direct message subscription notifications.
**disable** - Disable direct message subscription notifications.
**info** - List all Pokemon, Raid, Quest, Invasion, and Gym subscriptions and settings.
**expire** / **expires** - Check stripe API when Donor/Supporter subscription expires.
**set-distance** - Set minimum distance to Pokemon, raids, quests, invasions and gyms need to be within. (Measured in kilometers)
Usage: `set-distance <kilometers> <latitude>,<longitude>`

* `<kilometers>` - Distance in kilometers from location.
* `<latitude>` - Latitude part of the location's coordinate pair.
* `<longitude>` - Longitude part of the location's coordinate pair.

Examples:

* `.set-distance 10 34.00001, -119.22222`

### Pokemon

**pokeme** - Subscribe to specific Pokemon notifications.
Usage: `pokeme <pokemon> [iv] [level] [gender]`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.
* `<iv>` - (Optional) Minimum IV value.
* `<level>` - (Optional) Minimum level value.
* `<gender>` - (Optional) Specific gender `m` or `f` or `*` for all.

Examples:

* `.pokeme tyranitar`
* `.pokeme pikachu 100 35 f`
* `.pokeme pikachu 100`
* `.pokeme all 100 35`
<br>

**pokemenot** - Unsubscribe from specific Pokemon notifications.
Usage: `pokemenot <pokemon>`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.

Examples:

* `.pokemenot pikachu`
* `.pokemenot all`
<br>

### PvP

**pvpme** - Subscribe to PvP ranked Pokemon notifications.
Usage: `pvpme <pokemon> <league> <rank> <percent>`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.
* `<league>` - `great`, `ultra`, or `master` (`master` not current implemented).
* `<rank>` - Minimum great or ultra league ranking.
* `<percent>` - Minimum league ranking product percentage.

Examples:

* `.pvpme skarmory great 5 99.3`
* `.pvpme roselia ultra 1 100`
<br>

**pvpmenot** - Unsubscribe from PvP ranked Pokemon notifications.
Usage: `pvpmenot <pokemon> <league>`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.
* `<league>` - `great`, `ultra`, or `master` (`master` not current implemented).

Examples:

* `.pvpmenot skarmory great`
* `.pvpmenot all great`
* `.pvpmenot all ultra`
<br>

### Raids

**raidme** - Subscribe to specific Raid notifications.
Usage: `raidme <pokemon> [city]`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.raidme Tyranitar`
* `.raidme mewtwo city1`
<br>

**raidmenot** - Unsubscribe from specific Raid notifications.
Usage: `raidmenot <pokemon> [city]`

* `<pokemon>` - Parameter can take a list of Ids or names or the `all` keyword for everything.
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.raidmenot Tyranitar`
* `.raidmenot mewtwo city1`
* `.raidmenot all`
* `.raidmenot all city1`
<br>

### Quests

**questme** - Subscribe to specific field research quest notifications.
Usage: `questme <reward> [city]`

* `<reward>` - Reward keyword of the field research quest.
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.questme chansey`
* `.questme dratini city1`
* `.questme nanab`
<br>

**questmenot** - Unsubscribe from specific field research quest notifications.
Usage: `questmenot <reward> [city]`

* `<reward>` - Reward keyword of the field research quest or the `all` keyword for everything.
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.questmenot chansey`
* `.questmenot dratini city1`
* `.questmenot nanab`
* `.questmenot all`
<br>

### Team Rocket Invasions

**invme** - Subscribe to specific Team Rocket invasion notifications.
Usage: `invme <grunt_type>-<gender> [city]`

* `<grunt_type>` - Grunt Pokemon type i.e. `fire`, `water`
* `<gender>` - Grunt gender i.e. `male` | `m` | `female` | `f`
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.invme tier2-f`
* `.invme ground-male city1`
<br>

**invmenot** - Unsubscribe from specific Team Rocket invasion notifications.
Usage: `invmenot <grunt_type>-<gender> [city]`

* `<grunt_type>` - Grunt Pokemon type i.e. `fire`, `water`
* `<gender>` - Grunt gender i.e. `male` | `m` | `female` | `f`
* `[city]` - (Optional) City name to get the notifications for or leave blank for all available cities.

Examples:

* `.invmenot tier2-f`
* `.invmenot ground-male city1`
* `.invmenot all`
<br>

### Management

**import** - Import saved subscriptions file.
**export** - Export subscriptions config file.

### Icon Style

**icons**- List available icon styles to choose from.
**set-icons** - Set icon style to use for direct message notifications.

### City Role Assignment

**cities** / **feeds** - List all available city roles.
**feedme** - Assign city role.
**feedmenot** - Unassign city role.
Loading

0 comments on commit 858734f

Please sign in to comment.