Inform Kandy when it is her "birthday".
build_release / build (push) Successful in 48s
build_latest / build (push) Successful in 43s
build_develop / build (push) Successful in 43s

This commit is contained in:
2023-09-12 13:17:25 -04:00
parent e243b40be7
commit 18751bc85c
+6
View File
@@ -5,6 +5,7 @@ Defines the daily loop that runs the Dakiny bot functions.
import random
from datetime import datetime, time
import nextcord
from nextcord.ext import commands, tasks
from pytz import timezone
from sqlalchemy import select
@@ -48,6 +49,11 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
self.update_birthdays()
if 239547993106284544 in birthday_list:
# inform kandy that it is her "birthday"
kandy: nextcord.User = await self.bot.fetch_user(239547993106284544)
await kandy.send('Happy "Birthday"!')
@daily_loop.before_loop
async def before_loop(self):
"""