Update gameplay.py
set live scoreboard loop to 5 minutes from 1
This commit is contained in:
parent
cdb34e881f
commit
43b86a32b2
@ -34,7 +34,7 @@ class Gameplay(commands.Cog):
|
|||||||
self.pitcher_ratings = None
|
self.pitcher_ratings = None
|
||||||
self.live_scoreboard.start()
|
self.live_scoreboard.start()
|
||||||
|
|
||||||
@tasks.loop(minutes=1)
|
@tasks.loop(minutes=5)
|
||||||
async def live_scoreboard(self):
|
async def live_scoreboard(self):
|
||||||
guild = self.bot.get_guild(int(os.environ.get('GUILD_ID')))
|
guild = self.bot.get_guild(int(os.environ.get('GUILD_ID')))
|
||||||
if not guild:
|
if not guild:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user