Inform Kandy when it is her "birthday".
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user