kiafumi/commands/fun.py
2022-03-06 20:19:24 -08:00

15 lines
490 B
Python

import discord.commands
from discord.ext import commands
from datetime import date
class Fun(commands.Cog, name="Fun"):
def __init__(self, bot):
self.bot = bot
@slash_command(name='sdate', description='Returns the current Eternal September date', guild_ids=[950115668806746162])
async def sdate(self, ctx):
sdate = (date.today() - date(1993, 8, 30)).days
await ctx.respond(f"Today is September {sdate}, 1993.")
def setup(bot):
bot.add_cog(Fun(bot))