Update overseerr.py

This commit is contained in:
pacnpal
2024-09-30 21:13:15 -04:00
parent fa9ff05e71
commit c5f3471dfc

View File

@@ -24,6 +24,7 @@ class Overseerr(commands.Cog):
@overseerr.command() @overseerr.command()
async def url(self, ctx: commands.Context, url: str): async def url(self, ctx: commands.Context, url: str):
"""Set the Overseerr URL.""" """Set the Overseerr URL."""
url = url.rstrip('/')
await self.config.overseerr_url.set(url) await self.config.overseerr_url.set(url)
await ctx.send(f"Overseerr URL set to: {url}") await ctx.send(f"Overseerr URL set to: {url}")