Accept black formatting

This commit is contained in:
Parker M. 2024-07-11 00:51:57 -05:00
parent c21db908a5
commit 13e9b37ce3
No known key found for this signature in database
GPG Key ID: 95CD2E0C7E329F2A

View File

@ -14,7 +14,7 @@ class MyBot(commands.Bot):
command_prefix="***",
activity=discord.Game(name="music!"),
intents=discord.Intents.default(),
tree_cls=Tree
tree_cls=Tree,
)
async def setup_hook(self):
@ -23,7 +23,9 @@ class MyBot(commands.Bot):
for ext in os.listdir("./code/cogs"):
if ext.endswith(".py"):
if ext[:-3] == "feedback" and config.FEEDBACK_CHANNEL_ID == None:
config.LOG.info("Skipped loading feedback cog - channel ID not provided")
config.LOG.info(
"Skipped loading feedback cog - channel ID not provided"
)
continue
if ext[:-3] == "bug" and config.BUG_CHANNEL_ID == None:
config.LOG.info("Skipped loading bug cog - channel ID not provided")
@ -50,7 +52,7 @@ async def on_ready():
@bot.event
async def on_command_error(ctx, error):
return
return
@tasks.loop(minutes=45)
@ -68,4 +70,4 @@ async def get_access_token():
if __name__ == "__main__":
config.load_config()
bot.run(config.TOKEN)
bot.run(config.TOKEN)