Skip to content

Commit

Permalink
Updated README and help for /list and /listall
Browse files Browse the repository at this point in the history
  • Loading branch information
Chefkeks committed Feb 4, 2021
1 parent 8f7ad53 commit 70f4399
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 9 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Telegram webhook bot for organizing raids in Pokemon Go. Developers are welcome
* [Command: /pokemon](#command-pokemon)
* [Command: /pokedex](#command-pokedex)
* [Command: /list](#command-list)
* [Command: /listall](#command-listall)
* [Command: /overview](#command-overview)
* [Command: /delete](#command-delete)
* [Command: /team](#command-team)
Expand All @@ -90,7 +91,7 @@ Telegram webhook bot for organizing raids in Pokemon Go. Developers are welcome
* [translate.py](#translatepy)
* [Usage](#usage)

<!-- Added by: tux, at: Mon 25 Jan 2021 08:40:15 PM CET -->
<!-- Added by: tux, at: Thu 04 Feb 2021 07:38:38 PM CET -->

<!--te-->

Expand Down Expand Up @@ -838,7 +839,7 @@ A few examples for access files can be found below the permission overview table
| | Create raids `/start`, `/raid` | `create` |
| | Create ex-raids `/start` | `ex-raids` |
| | Change raid duration `/start` | `raid-duration` |
| | List all raids `/list` | `list` |
| | List all raids `/list` and `/listall` | `list` |
| | Manage overview `/overview` | `overview` |
| | Delete OWN raid polls `/delete` | `delete-own` |
| | Delete ALL raid polls `/delete` | `delete-all` |
Expand Down Expand Up @@ -1057,8 +1058,9 @@ Edit the weather:

## Command: /list

The bot will allow you to get a list of the last 20 active raids and re-share or delete them.
The bot will allow you to get a list of the last 12 active raids and re-share or delete them.

In case more than 12 active raids are happening, the bot will automatically call the /listall command

List existing raid polls with the `/list` command:

Expand All @@ -1067,6 +1069,10 @@ List existing raid polls with the `/list` command:
![Command: /list](/screens/commands-list-active-raids.png?raw=true "Command: /list")


## Command: /listall

The bot will allow you to get all active raids and re-share or delete them. The raids are grouped by gyms and their first letter or custom letters.

## Command: /overview

Share and delete the raid overview message.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.035.2
2.1.035.3
1 change: 1 addition & 0 deletions commands/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
$permissions[] = 'ex-raids';
$permissions[] = 'raid-duration';
$permissions[] = 'list';
$permissions[] = 'listall';
$permissions[] = 'overview';
$permissions[] = 'delete-all';
$permissions[] = 'pokemon-all';
Expand Down
2 changes: 1 addition & 1 deletion config/config.json.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION":"2.1.035.2",
"VERSION":"2.1.035.3",
"DB_HOST":"localhost",
"DB_NAME":"your_database_name",
"DB_USER":"your_database_user",
Expand Down
20 changes: 16 additions & 4 deletions lang/help.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,28 @@
"FI": "/start - Vaihda raidin kestoa"
},
"help_list": {
"NL": "/list - alle actieve Raids",
"DE": "/list - Alle aktiven Raids",
"EN": "/list - All active raids",
"NL": "TRANSLATE",
"DE": "/list - Letzten 12 aktiven Raids",
"EN": "/list - Last 12 active raids",
"IT": "TRANSLATE",
"PT-BR": "TRANSLATE",
"RU": "TRANSLATE",
"NO": "TRANSLATE",
"FR": "TRANSLATE",
"PL": "TRANSLATE",
"FI": "/list - Kaikki aktiiviset raidit"
"FI": "TRANSLATE"
},
"help_listall": {
"NL": "/listall - alle actieve Raids",
"DE": "/listall - Alle aktiven Raids",
"EN": "/listall - All active raids",
"IT": "TRANSLATE",
"PT-BR": "TRANSLATE",
"RU": "TRANSLATE",
"NO": "TRANSLATE",
"FR": "TRANSLATE",
"PL": "TRANSLATE",
"FI": "/listall - Kaikki aktiiviset raidit"
},
"help_overview": {
"NL": "/overview - Beheer raid overzicht",
Expand Down

0 comments on commit 70f4399

Please sign in to comment.