Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion counting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@


async def setup(bot):
bot.add_cog(Counting(bot))
await bot.add_cog(Counting(bot))
3 changes: 2 additions & 1 deletion directmessage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import asyncio
from pathlib import Path
from .directmessage import DirectMessage

Expand All @@ -7,4 +8,4 @@


async def setup(bot):
bot.add_cog(DirectMessage(bot))
await bot.add_cog(DirectMessage(bot))
2 changes: 1 addition & 1 deletion statusrole/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@


async def setup(bot):
bot.add_cog(StatusRole(bot))
await bot.add_cog(StatusRole(bot))
2 changes: 1 addition & 1 deletion statusrole/statusrole.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, bot):
}
self.config.register_guild(**default_guild)

@commands.Cog.listener("on_member_update")
@commands.Cog.listener("on_presence_update")
async def _member_update_listener(self, before: discord.Member, after: discord.Member):
if (
before.bot or # Member is a bot
Expand Down
2 changes: 1 addition & 1 deletion temprole/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@


async def setup(bot):
bot.add_cog(TempRole(bot))
await bot.add_cog(TempRole(bot))