diff options
author | HombreLaser <sebastian-440@live.com> | 2022-06-15 15:30:32 -0500 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-06-15 15:30:32 -0500 |
commit | caee74a9de80c94ee959909871961dab768a7430 (patch) | |
tree | 35f150da39dc790917a116c81dcfc4164e583a08 /src/bot.py | |
parent | e07e82b9dd93c97e53521f9fcdc967febf8d0eeb (diff) |
Added command parser
Diffstat (limited to 'src/bot.py')
-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, ): |