meme: add yotld
This commit is contained in:
parent
40c49caca4
commit
5f21ecbcb7
1 changed files with 7 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue