just dont give it a type?
This commit is contained in:
parent
7c020d47c2
commit
da49ef7ca4
1 changed files with 1 additions and 2 deletions
|
@ -125,10 +125,9 @@ class MSCGetter(niobot.Module):
|
|||
async def msc(
|
||||
self,
|
||||
ctx: niobot.Context,
|
||||
number_or_query: str
|
||||
number_or_query
|
||||
):
|
||||
"""Fetches the given MSC"""
|
||||
number_or_query: str
|
||||
if number_or_query.startswith("?"): # search
|
||||
msg = await ctx.respond("Searching for relevant MSCs with query %r..." % number_or_query[1:])
|
||||
results = await self.search_for_msc(number_or_query[1:])
|
||||
|
|
Loading…
Reference in a new issue