mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
add one second delay to 13:37 command
This commit is contained in:
1 file changed
+2
@@ -1,4 +1,5 @@
|
||||
import aiocron
|
||||
import asyncio
|
||||
from discord.ext import commands
|
||||
|
||||
|
||||
@@ -15,6 +16,7 @@ class RepeatedMessages(commands.Cog):
|
||||
guild = self.bot.get_guild(747542543750660178)
|
||||
channel = guild.get_channel(747542544291987597)
|
||||
sticker = await guild.fetch_sticker(1050761884300755005)
|
||||
await asyncio.sleep(1)
|
||||
await channel.send(stickers=[sticker])
|
||||
|
||||
@aiocron.crontab('0 0 * * 5')
|
||||
|
||||
Reference in new issue
Block a user