removed transWhat config file (closes #23)

This commit is contained in:
Steffen Vogel 2015-12-03 13:49:44 +01:00
parent a9e97d16d5
commit 75a0f310e3
4 changed files with 0 additions and 13 deletions

View File

@ -78,13 +78,3 @@ Install required dependencies:
- **e4u**: is a simple emoji4unicode python bindings - **e4u**: is a simple emoji4unicode python bindings
- [**yowsup**](https://github.com/tgalal/yowsup): is a python library that enables you build application which use WhatsApp service. - [**yowsup**](https://github.com/tgalal/yowsup): is a python library that enables you build application which use WhatsApp service.
### Configuration
Then create a new file called `constants.py` in the newly checked out transWhat Git repository:
BASE_PATH = "/location/to/transwhat"
TOKEN_FILE = BASE_PATH + "/logs/tokens"
MOTD_FILE = BASE_PATH + "/conf/motd"
REQUESTS_FILE = BASE_PATH + "/logs/requests"

1
bot.py
View File

@ -30,7 +30,6 @@ import time
import os import os
import utils import utils
from constants import *
class Bot(): class Bot():
def __init__(self, session, name = "Bot"): def __init__(self, session, name = "Bot"):
self.session = session self.session = session

View File

@ -41,7 +41,6 @@ from buddy import BuddyList
from threading import Timer from threading import Timer
from group import Group from group import Group
from bot import Bot from bot import Bot
from constants import *
from yowsupwrapper import YowsupApp from yowsupwrapper import YowsupApp

View File

@ -38,7 +38,6 @@ sys.path.insert(0, os.getcwd())
from Spectrum2.iochannel import IOChannel from Spectrum2.iochannel import IOChannel
from whatsappbackend import WhatsAppBackend from whatsappbackend import WhatsAppBackend
from constants import *
from yowsup.common import YowConstants from yowsup.common import YowConstants
from yowsup.stacks import YowStack from yowsup.stacks import YowStack