diff --git a/cogs/events.py b/cogs/events.py index 97cc48e..5d940e9 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -1,7 +1,7 @@ import random from pathlib import Path from typing import Optional, Tuple -from datetime import datetime, time +from datetime import datetime, time, timedelta import discord from discord.ext import commands, tasks @@ -185,6 +185,10 @@ class Events(commands.Cog): text=f"Pos: {pos*100:.2f}% | Neutral: {neut*100:.2f}% | Neg: {neg*100:.2f}%" ) return await message.reply(embed=embed) + if message.content.lower() == "when is the year of the linux desktop?": + date = discord.utils.utcnow() + # date = date.replace(year=date.year + 1) + return await message.reply(date.strftime("%Y") + " will be the year of the linux desktop.") def setup(bot):