Beispiel #1
0
def before_request():
    g.db = MusicDataAccess()
    g.client = MusicClient()
    g.music_cmd = MusicCommand()
    g.server_cmd = ServerCommand()
Beispiel #2
0
 def __init__(self):
     super(MusicBot, self).__init__(name="Skype MusicBot")
     self.music_command = MusicCommand()
     self.server_command = ServerCommand()