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