def __init__(self, *args, **kwargs): """ Constructor that initializes background tasks. """ super().__init__(*args, **kwargs) # Background tasks self.showCheckerBG = self.loop.create_task(self.showChecker()) # Variables self.isGameLive = False self.answersCounts = [0, 0, 0] self.msgBox = messageBox.MessageBox()
super().__init__(*args, **kwargs) # Background tasks self.showCheckerBG = self.loop.create_task(self.showChecker()) # Variables self.isGameLive = False self.answersCounts = [0, 0, 0] self.msgBox = messageBox.MessageBox() async def on_ready(self): """ Called when the discord bot logs in. """ print(f'{self.user.name} Logged In!') print('--------------------\n')