예제 #1
0
 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")
예제 #2
0
 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")
예제 #3
0
파일: Admin.py 프로젝트: ginkoid/bargebot
 async def reloadconfigs(self, ctx:commands.Context):
     async with ctx.typing():
         Configuration.load_master()
         await Configuration.initialize(self.bot)
     await ctx.send("Configs reloaded")