This commit is contained in:
nex 2023-01-01 20:51:03 +00:00
parent 33f5e44a4f
commit 661d098546

View file

@ -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):