Merge branch 'yowsup-2' of github.com:stv0g/transwhat into yowsup-2

This commit is contained in:
Steffen Vogel 2015-12-03 13:50:05 +01:00
commit 7f227e5643
2 changed files with 9 additions and 36 deletions

View file

@ -7,12 +7,14 @@ You might want to talk to bot if you're feeling lonely ;-P
The bot is one of the contacts every user has in its contact list. It offers you a simple way to interact with the server:
| **Command** | **Description** |
| ----------- | --------------- |
| `\prune` | Wipe all your date we are storing on our server|
| `\help` | Getting a simple help|
| `\sync` | Resync your contact list with WhatsApp \\ (Determine which contacts are using WhatsApp)|
| `\lastseen` | Get last online timestamp of your buddies \\ (send to Buddy)|
| `\fortune` | Get a quote|
| ------------ | --------------- |
| `\help` | show this message |
| `\prune` | clear your buddylist |
| `\sync` | sync your imported contacts with WhatsApp |
| `\lastseen` | request last online timestamp from buddy |
| `\leave` | permanently leave group chat |
| `\groups` | print all attended groups |
| `\getgroups` | get current groups from WA |
<note tip>All commands start with a **back**slash!</note>

View file

@ -1,29 +0,0 @@
__author__ = "Steffen Vogel"
__copyright__ = "Copyright 2013, Steffen Vogel"
__license__ = "GPLv3"
__maintainer__ = "Steffen Vogel"
__email__ = "post@steffenvogel.de"
__status__ = "Prototype"
"""
This file is part of transWhat
transWhat is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
transwhat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with transWhat. If not, see <http://www.gnu.org/licenses/>.
"""
BASE_PATH = "/opt/transwhat"
TOKEN_FILE = BASE_PATH + "/logs/tokens"
MOTD_FILE = BASE_PATH + "/conf/motd"
REQUESTS_FILE = BASE_PATH + "/logs/requests"