Bug fixes

This commit is contained in:
2021-07-27 11:51:02 +01:00
parent d38ead1c49
commit 7dff3f74ec
3 changed files with 2 additions and 5 deletions

View File

@ -20,7 +20,7 @@ class on_guild_join(commands.Cog, name='On Guild Join Events'):
status, output = checkConfig(guild)
conf = yaml_load(configFile)
if not status:
await guild.get_channel(conf[str(guild.id)]['channels']['mod']).send(f"The Bot's configurations are incomplete for the guild `{guild.name}`. Some limited functions will still be available, but most features cannot be used until the configurations are complete.\n{parseConfigCheck(output)}\nYou can set these configuration values using the `/config` command.")
await guild.get_channel(conf[str(guild.id)]['channels']['mod']).send(f"```The Bot's configurations are incomplete for the guild `{guild.name}`. Some limited functions will still be available, but most features cannot be used until the configurations are complete.\n{parseConfigCheck(output)}\nYou can set these configuration values using the `/config` command.```")
def setup(client):
client.add_cog(on_guild_join(client))