Update events.py

This commit is contained in:
Elmon11 2020-12-02 23:13:28 +01:00 committed by GitHub
parent 3af59b3e08
commit 8a3e3150ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ print = logscript.logging.getLogger().critical
class Events(commands.Cog):
def __init__(self, bot):
"""Defines self.bot as the bot object on construction"""
self.bot = bot
@commands.Cog.listener()