mirror of
https://github.com/miaowware/qrm2.git
synced 2026-07-23 02:24:14 -04:00
Changed all categories to enums
- Accidentally fixed capitalisation of help command categories Fixes #383
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ class StudyCog(commands.Cog):
|
||||
self.source = "Data courtesy of [HamStudy.org](https://hamstudy.org/)"
|
||||
self.session = aiohttp.ClientSession(connector=bot.qrm.connector)
|
||||
|
||||
@commands.command(name="hamstudy", aliases=["rq", "randomquestion", "randomq"], category=cmn.cat.study)
|
||||
@commands.command(name="hamstudy", aliases=["rq", "randomquestion", "randomq"], category=cmn.Cats.STUDY)
|
||||
async def _random_question(self, ctx: commands.Context, country: str = "", level: str = "", element: str = ""):
|
||||
"""Gets a random question from [HamStudy's](https://hamstudy.org) question pools."""
|
||||
with ctx.typing():
|
||||
|
||||
Reference in New Issue
Block a user