fix kron function
This commit is contained in:
parent
ccde0ff81d
commit
82c5c6501c
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class Texte(commands.Cog):
|
||||||
|
|
||||||
@tasks.loop(seconds=3600)
|
@tasks.loop(seconds=3600)
|
||||||
async def kron(self):
|
async def kron(self):
|
||||||
kron_choice = random.choice([self.kaamelott, self.slap, self.kamoulox, self.contrepeterie, schizo, None, None, None, None, None, None])
|
kron_choice = random.choice([self.kaamelott, self.slap, self.kamoulox, self.contrepeterie, self.schizo, None, None, None, None, None, None])
|
||||||
if kron_choice != None:
|
if kron_choice != None:
|
||||||
await asyncio.sleep(random.choice(range(3550)))
|
await asyncio.sleep(random.choice(range(3550)))
|
||||||
for channel in self.bot.get_all_channels():
|
for channel in self.bot.get_all_channels():
|
||||||
|
|
Loading…
Reference in a new issue