mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
fully remove mandag repeated message
This commit is contained in:
1 parent
f809df9f51
commit
f9cee786d0
1 file changed
-19
@@ -15,12 +15,10 @@ class RepeatedMessages(commands.Cog):
|
||||
self.general_channel = 747542544291987597
|
||||
|
||||
self.fredag.start()
|
||||
self.mandag.start()
|
||||
self.new_year.start()
|
||||
|
||||
def cog_unload(self):
|
||||
self.fredag.cancel()
|
||||
self.mandag.cancel()
|
||||
self.new_year.cancel()
|
||||
|
||||
@tasks.loop(time=misc_utils.MIDNIGHT)
|
||||
@@ -52,23 +50,6 @@ class RepeatedMessages(commands.Cog):
|
||||
|
||||
await channel.send("NU ÄR DET FREDAG!\n" + video)
|
||||
|
||||
# @tasks.loop(time=misc_utils.MIDNIGHT)
|
||||
# async def mandag(self):
|
||||
# """
|
||||
# Sends a message on Monday at 00:00
|
||||
# """
|
||||
|
||||
# if datetime.now().weekday() != 0:
|
||||
# return
|
||||
|
||||
# guild = self.bot.get_guild(self.bot.UIO_GAMING_GUILD_ID)
|
||||
# channel = guild.get_channel(self.general_channel)
|
||||
# await channel.send(
|
||||
# "ENDELIG MANDAG! Men det er også ferie, så kanskje ikke vits å si det?\n\n"
|
||||
# # + "https://cdn.discordapp.com/attachments/678396498089738250/862853827278929940/hvorfor_de_rike_br_spises.mp4" # noqa: E501
|
||||
# # + "https://cdn.discordapp.com/attachments/678396498089738250/1168644637687283762/Snapchat-1787493720.mp4" # noqa: E501
|
||||
# )
|
||||
|
||||
@tasks.loop(time=misc_utils.MIDNIGHT)
|
||||
async def new_year(self):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user