Increase audit log polling interval to 60s
This commit is contained in:
parent
5cbece7420
commit
4008f04350
@ -1654,7 +1654,7 @@ class LoggingCog(commands.Cog):
|
|||||||
# The first set of definitions already includes the toggle checks.
|
# The first set of definitions already includes the toggle checks.
|
||||||
|
|
||||||
# --- Audit Log Polling Task ---
|
# --- Audit Log Polling Task ---
|
||||||
@tasks.loop(seconds=30) # Poll every 30 seconds
|
@tasks.loop(seconds=60) # Poll every 60 seconds
|
||||||
async def poll_audit_log(self):
|
async def poll_audit_log(self):
|
||||||
# This loop starts only after the bot is ready and initialized
|
# This loop starts only after the bot is ready and initialized
|
||||||
if not self.bot.is_ready() or self.session is None or self.session.closed:
|
if not self.bot.is_ready() or self.session is None or self.session.closed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user