Address rate limits?

This commit is contained in:
bobloy 2020-07-21 09:34:25 -04:00
parent f83647a945
commit 54ea41825b

View File

@ -1,3 +1,5 @@
import asyncio
import discord
from redbot.core import Config, checks, commands
from redbot.core.bot import Red
@ -199,6 +201,8 @@ class InfoChannel(Cog):
name = "{} ".format(online_msg)
await onlinechannel.edit(reason="InfoChannel update", name=name)
await asyncio.sleep(60)
@Cog.listener()
async def on_member_join(self, member: discord.Member):
await self.update_infochannel(member.guild)