mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
Update overseerr.py
This commit is contained in:
@@ -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}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user