mirror of
https://github.com/miaowware/qrm2.git
synced 2025-04-10 05:29:09 -04:00
parent
b462527211
commit
756a15c4c5
@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- Canadian prefix info to the `?prefixes` command.
|
||||
- `?worksplit` command.
|
||||
|
||||
|
||||
## [2.3.2] - 2020-07-22
|
||||
|
@ -63,6 +63,7 @@ emojis = SimpleNamespace(
|
||||
paths = SimpleNamespace(
|
||||
data=Path("./data/"),
|
||||
resources=Path("./resources/"),
|
||||
img=Path("./resources/img/"),
|
||||
bandcharts=Path("./resources/img/bandcharts/"),
|
||||
maps=Path("./resources/img/maps/"),
|
||||
)
|
||||
|
11
exts/fun.py
11
exts/fun.py
@ -10,6 +10,7 @@ the GNU General Public License, version 2.
|
||||
|
||||
import random
|
||||
|
||||
import discord
|
||||
import discord.ext.commands as commands
|
||||
|
||||
import common as cmn
|
||||
@ -36,6 +37,16 @@ class FunCog(commands.Cog):
|
||||
"""Returns xkcd: Standards."""
|
||||
await ctx.send("http://xkcd.com/927")
|
||||
|
||||
@commands.command(name="worksplit", aliases=["split", "ft8"], category=cmn.cat.fun)
|
||||
async def _worksplit(self, ctx: commands.Context):
|
||||
"""Posts "Work split you lids"."""
|
||||
fn = "worksplit.jpg"
|
||||
embed = cmn.embed_factory(ctx)
|
||||
embed.title = "Work Split, You Lids!"
|
||||
embed.set_image(url="attachment://" + fn)
|
||||
img = discord.File(cmn.paths.img / fn, filename=fn)
|
||||
await ctx.send(embed=embed, file=img)
|
||||
|
||||
@commands.command(name="xd", hidden=True, category=cmn.cat.fun)
|
||||
async def _xd(self, ctx: commands.Context):
|
||||
"""ecks dee"""
|
||||
|
BIN
resources/img/worksplit.jpg
Normal file
BIN
resources/img/worksplit.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 304 KiB |
Loading…
Reference in New Issue
Block a user