From 6cbf9755937bfbe244616117324c1f111b362e7b Mon Sep 17 00:00:00 2001 From: Abigail Gold <5366828+classabbyamp@users.noreply.github.com> Date: Sun, 15 Dec 2019 12:51:43 -0500 Subject: [PATCH] add temporary cc command --- exts/ham.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/exts/ham.py b/exts/ham.py index f48872e..3b09861 100644 --- a/exts/ham.py +++ b/exts/ham.py @@ -102,6 +102,18 @@ class HamCog(commands.Cog): await ctx.send(embed=embed) + @commands.command(name="contests", aliases=["cc", "tests"], category=cmn.cat.ref) + async def _contests(self, ctx: commands.Context): + embed = discord.Embed(title="Contest Calendar", + timestamp=datetime.utcnow(), + colour=cmn.colours.good) + embed.set_footer(text=ctx.author.name, + icon_url=str(ctx.author.avatar_url)) + + embed.description = ("*We are currently rewriting the old, Chrome-based `contests` command. In the meantime, " + "use [the website](https://www.contestcalendar.com/weeklycont.php).*") + await ctx.send(embed=embed) + def setup(bot: commands.Bot): bot.add_cog(HamCog(bot))