mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 18:32:32 -05:00
@@ -859,6 +859,9 @@ class Owner:
|
||||
url, ncommits, branch, commits = result.split("\n", 3)
|
||||
if url.endswith(".git"):
|
||||
url = url[:-4]
|
||||
if url.startswith("git@"):
|
||||
domain, _, resource = url[4:].partition(':')
|
||||
url = 'https://{}/{}'.format(domain, resource)
|
||||
repo_name = url.split("/")[-1]
|
||||
|
||||
embed = discord.Embed(title="Updates of " + repo_name,
|
||||
|
||||
Reference in New Issue
Block a user