Removing corona and pandas install. shoudl speed up build times significantly
This commit is contained in:
parent
cdcf17b0fd
commit
bdb261cca2
@ -150,25 +150,6 @@ class ActualUtils(commands.Cog):
|
|||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
await ctx.send_followup(embed=embed)
|
await ctx.send_followup(embed=embed)
|
||||||
|
|
||||||
@commands.slash_command(
|
|
||||||
guild_ids=None,
|
|
||||||
name="corona",
|
|
||||||
description="Query Johns hopkins online covid stats. Requires a location",
|
|
||||||
)
|
|
||||||
@option(
|
|
||||||
name="location",
|
|
||||||
required=True,
|
|
||||||
description="The location you want to see covid stats for",
|
|
||||||
default="California",
|
|
||||||
)
|
|
||||||
async def corona(self, ctx: commands.Context, location):
|
|
||||||
import corona
|
|
||||||
|
|
||||||
await ctx.defer()
|
|
||||||
result = corona.parse_message(location)
|
|
||||||
|
|
||||||
await ctx.send_followup(embed=result)
|
|
||||||
|
|
||||||
@commands.slash_command(
|
@commands.slash_command(
|
||||||
guld_ids=None,
|
guld_ids=None,
|
||||||
name="stock",
|
name="stock",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user