Bug fixes
This commit is contained in:
@ -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))
|
Reference in New Issue
Block a user