mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
YOTLD
This commit is contained in:
parent
33f5e44a4f
commit
661d098546
1 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue