mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Add tests for courses, change study guide description
This commit is contained in:
parent
c6958d22f3
commit
9819e82638
3 changed files with 37 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ class SchoolSlash(commands.Cog):
|
|||
|
||||
@slash_command(name="fiche", description="Zoek de studiefiche voor een vak.")
|
||||
async def _study_guide_slash(self, ctx: ApplicationContext,
|
||||
vak: Option(str, description="Naam van het vak. Afkortingen werken ook, maar worden niet ge-autocompletet.",
|
||||
vak: Option(str, description="Naam van het vak. Afkortingen werken ook, maar worden niet geautocompletet.",
|
||||
required=True, autocomplete=course_autocomplete)):
|
||||
# Find code corresponding to the search query
|
||||
course = find_course_from_name(vak, courses)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue