async def reloadconfigs(self, ctx: commands.Context): """Reloads all server configs from disk""" async with ctx.typing(): Configuration.load_master() await Configuration.on_ready(self.bot) self.bot.cogs["Moderation"].load_bad_names() await ctx.send("Configs reloaded")
async def reloadconfigs(self, ctx:commands.Context): """Reloads all server configs from disk""" async with ctx.typing(): Configuration.load_master() await Configuration.initialize(self.bot) await ctx.send("Configs reloaded")
async def reloadconfigs(self, ctx:commands.Context): async with ctx.typing(): Configuration.load_master() await Configuration.initialize(self.bot) await ctx.send("Configs reloaded")