From 5f21ecbcb789328500b2d956727bada214c76eca Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Mon, 12 Aug 2019 13:09:36 +0300 Subject: [PATCH] meme: add yotld --- cogs/meme.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cogs/meme.py b/cogs/meme.py index a311273..df5d370 100644 --- a/cogs/meme.py +++ b/cogs/meme.py @@ -5,6 +5,7 @@ from discord.ext.commands import Cog import math import platform from helpers.checks import check_if_staff_or_ot +import datetime class Meme(Cog): @@ -127,6 +128,12 @@ class Meme(Cog): """test""" await ctx.send("https://www.youtube.com/watch?v=VmarNEsjpDI") + @commands.command(hidden=True, aliases=["yotld"]) + async def yearoflinux(self, ctx): + """Shows the year of Linux on the desktop""" + await ctx.send(f"{datetime.datetime.now().year} is the year of " + "Linux on the Desktop") + def setup(bot): bot.add_cog(Meme(bot))