1
0
Fork 0
mirror of synced 2024-05-06 21:52:30 +12:00

Added cog setup function in mod cog

This commit is contained in:
phxntxm 2016-07-08 20:31:18 -05:00
parent 2bde1ce936
commit 1f8b380b62

View file

@ -28,3 +28,7 @@ class Mod:
except Exception as e:
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'
await self.bot.say(fmt.format(type(e).__name__, e))
def setup(bot):
bot.add_cog(Mod(bot))