diff --git a/Tarkin.py b/Tarkin.py index 804da45..f38d441 100644 --- a/Tarkin.py +++ b/Tarkin.py @@ -8,6 +8,7 @@ class Tarkin(commands.Bot): """ Final class for the discord bot. + Second comment. """ bot_greeting: str perms: CmdManager @@ -47,6 +48,7 @@ async def on_message(self, message: discord.Message) -> None: else: await self.wrong_permissins(message) return + else: continue # if no command found @@ -66,8 +68,8 @@ async def wrong_permissins(self, message: discord.Message) -> None: if __name__ == '__main__': - perm_path = "example_permissions.json" + config_path = "example_config.json" bot_intents = discord.Intents.default() bot_intents.message_content = True - client = Tarkin(perm_path, intents=bot_intents) + client = Tarkin(config_path, intents=bot_intents) diff --git a/bot_actions/all.py b/bot_actions/all.py deleted file mode 100644 index d85a381..0000000 --- a/bot_actions/all.py +++ /dev/null @@ -1,7 +0,0 @@ -from bot_actions.my_id import MyId -from bot_actions.my_name import MyName -from bot_actions.speak import Speak - -class BotActions(MyId, MyName, Speak): - """Inherits all functionalities the bot has implemented""" - pass diff --git a/example_permissions.json b/example_permissions.json deleted file mode 100644 index 8e0ae0a..0000000 --- a/example_permissions.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "myid": { - "users": [], - "roles": [] - }, - "myname": { - "users": [], - "roles": [] - } -}