meme: add yotld

This commit is contained in:
Ave Ozkal 2019-08-12 13:09:36 +03:00
parent 40c49caca4
commit 5f21ecbcb7
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

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