mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-16 13:11:47 -05:00
Merge pull request #133 from classabbyamp/5c-microlint
Removed an unused f-string
This commit is contained in:
commit
f4806f8a9e
@ -86,7 +86,7 @@ See help for weather command for possible location types. Add a `-c` or `-f` to
|
|||||||
else:
|
else:
|
||||||
data = io.BytesIO(await resp.read())
|
data = io.BytesIO(await resp.read())
|
||||||
embed.set_image(url=f'attachment://wttr_forecast.png')
|
embed.set_image(url=f'attachment://wttr_forecast.png')
|
||||||
await ctx.send(embed=embed, file=discord.File(data, f'wttr_forecast.png'))
|
await ctx.send(embed=embed, file=discord.File(data, 'wttr_forecast.png'))
|
||||||
|
|
||||||
@_weather_conditions.command(name='now', aliases=['n'], category=cmn.cat.weather)
|
@_weather_conditions.command(name='now', aliases=['n'], category=cmn.cat.weather)
|
||||||
async def _weather_conditions_now(self, ctx: commands.Context, *, location: str):
|
async def _weather_conditions_now(self, ctx: commands.Context, *, location: str):
|
||||||
|
Loading…
Reference in New Issue
Block a user