small fixes
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 16s

This commit is contained in:
2025-06-08 13:02:05 -05:00
parent a7412445d4
commit 9a68c72d89
2 changed files with 7 additions and 2 deletions

View File

@ -198,6 +198,9 @@ class WeatherAPI:
return embed
async def weather(self, ctx, location):
location = "".join(
char for char in location if char.isalpha() or char.isspace()
)
weather_data = await self.get_weather(ctx, location)
if weather_data:
embed = self.weather_embed(weather_data)