summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bot.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bot.py b/src/bot.py
index 9b10736..a27aec0 100644
--- a/src/bot.py
+++ b/src/bot.py
@@ -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, ):