Address rate limits?
This commit is contained in:
parent
f83647a945
commit
54ea41825b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user