add typing to math command
@@ -275,6 +275,7 @@ class Useful(commands.Cog):
@commands.command(name="math", aliases=["solve", "meth"])
async def math(self, ctx, *, problem):
+ async with ctx.typing():
try:
resp = await self.bot.aiohttp.get(f"https://api.mathjs.org/v4/?expr={urlquote(problem)}")
await self.bot.send(ctx, f"```{float(await resp.text())}```")
