From 793357a7063861eef30bc3c4d0a0307e523d19a0 Mon Sep 17 00:00:00 2001 From: Specoolazius Date: Wed, 30 Mar 2022 21:49:10 +0200 Subject: [PATCH] refactored client to botclient --- bot/botclient.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot/botclient.py b/bot/botclient.py index d47a694..e035c65 100644 --- a/bot/botclient.py +++ b/bot/botclient.py @@ -75,7 +75,7 @@ class Configs(object): return token -class Client(discord.Bot, ABC): +class BotClient(discord.Bot, ABC): """< discord.Bot > The bot class @@ -85,8 +85,8 @@ class Client(discord.Bot, ABC): self.__config = Configs() self.logger = self.__setup_logger(self.__config.log_level) - super(Client, self).__init__( - # starting presence + super(BotClient, self).__init__( + # default presence activity=discord.Game('Beep Boop! Loading...'), status=discord.Status.idle, ) @@ -258,4 +258,4 @@ class StartStop(discord.Cog): if __name__ == '__main__': - Client().run() + BotClient().run()