add ?standards command for xkcd 927 (#213)

Fixes #187
This commit is contained in:
Abigail Gold 2020-03-30 22:24:50 +00:00 committed by GitHub
parent dcbb7acab8
commit 6867c45c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"""