You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this when restarting the bot and haven't looked into it. Could be transient, could be a simple fix, idk, just logging so it's logged and I don't forget forever.
To Reproduce
Steps to reproduce the behavior:
Load cog
Unload cog
Expected behavior
Not this I guess.
Screenshots
Additional context
Logs:
[2024-07-30 21:43:13] [ERROR] discord.ext.commands.cog: Ignoring exception in cog unload for Cog <class 'phishingdetection.phishingdetection.PhishingDetectionCog'> ('PhishingDetectionCog')
Traceback (most recent call last):
File "/redbot/.local/lib/python3.11/site-packages/discord/ext/commands/cog.py", line 776, in _eject
await maybe_coroutine(self.cog_unload)
File "/redbot/.local/lib/python3.11/site-packages/discord/utils.py", line 692, in maybe_coroutine
value = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/redbot/data/cogs/CogManager/cogs/phishingdetection/phishingdetection.py", line 68, in cog_unload
self.bot.loop.run_until_complete(self.session.close())
File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 518, in uvloop.loop.Loop._run
RuntimeError: this event loop is already running.
The text was updated successfully, but these errors were encountered:
Describe the bug
I noticed this when restarting the bot and haven't looked into it. Could be transient, could be a simple fix, idk, just logging so it's logged and I don't forget forever.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not this I guess.
Screenshots
Additional context
Logs:
The text was updated successfully, but these errors were encountered: