add ?standards command for xkcd 927

Fixes #187
This commit is contained in:
Abigail 2020-03-29 13:20:21 -04:00
parent dcbb7acab8
commit fa0a57cf95
No known key found for this signature in database
GPG Key ID: CF88335E873C3FB4
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Added
- `?standards` command to display [xkcd 927](https://xkcd.com/927/).
## [2.2.3] - 2020-03-29

View File

@ -31,6 +31,11 @@ class FunCog(commands.Cog):
"""Returns xkcd: tar."""
await ctx.send("http://xkcd.com/1168")
@commands.command(name="standards", category=cmn.cat.fun)
async def _standards(self, ctx: commands.Context):
"""Returns xkcd: Standards."""
await ctx.send("http://xkcd.com/927")
@commands.command(name="xd", hidden=True, category=cmn.cat.fun)
async def _xd(self, ctx: commands.Context):
"""ecks dee"""