just dont give it a type?

This commit is contained in:
Nexus 2024-09-19 18:00:05 +01:00
parent 7c020d47c2
commit da49ef7ca4

View file

@ -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:])