diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bot.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,9 +1,10 @@ from config import Config from ampache.client import AmpacheClient from collections import deque +from command_parser import parse_command, Commands import pymumble_py3 as pymumble -class Bot: +class AmpacheBot: """ The bot class. It reads a config file (given in the constructor) and with it populates its own and the ampache client's variables. @@ -39,10 +40,7 @@ class Bot: self._bot = pymumble.Mumble(host, bot_nick, password=password, certfile=certfile, keyfile=keyfile, reconnect=True, stereo=True) - def read_command(self): - pass - - def parse_command(self): + def read_message(self): pass def add_to_playlist(self, ): |