aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-15 23:22:26 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-15 23:22:26 +0200
commit1af9ffd4185766b8955f65ba92eab5123c41d97e (patch)
tree511b6fc59145371a9d88310d6d4868dca865d33a
parentChanging the #dev-logs ID to new channel. (diff)
Replaces all GitLab refs with GitHub.
There were some GitLab references in various parts of the code, which were causing a problem with displaying icons in the bot connection embeds and other minor aesthetic issues. This commit replaces all links to GitLab with their GitHub equivalent, resolving these bugs.
Diffstat (limited to '')
-rw-r--r--bot/cogs/cogs.py8
-rw-r--r--bot/cogs/logging.py4
-rw-r--r--bot/constants.py2
-rw-r--r--config-default.yml2
4 files changed, 8 insertions, 8 deletions
diff --git a/bot/cogs/cogs.py b/bot/cogs/cogs.py
index ebdbf5ad8..7283aae6d 100644
--- a/bot/cogs/cogs.py
+++ b/bot/cogs/cogs.py
@@ -60,7 +60,7 @@ class Cogs:
embed.set_author(
name="Python Bot (Cogs)",
- url=URLs.gitlab_bot_repo,
+ url=URLs.github_bot_repo,
icon_url=URLs.bot_avatar
)
@@ -113,7 +113,7 @@ class Cogs:
embed.set_author(
name="Python Bot (Cogs)",
- url=URLs.gitlab_bot_repo,
+ url=URLs.github_bot_repo,
icon_url=URLs.bot_avatar
)
@@ -168,7 +168,7 @@ class Cogs:
embed.set_author(
name="Python Bot (Cogs)",
- url=URLs.gitlab_bot_repo,
+ url=URLs.github_bot_repo,
icon_url=URLs.bot_avatar
)
@@ -269,7 +269,7 @@ class Cogs:
embed.colour = Colour.blurple()
embed.set_author(
name="Python Bot (Cogs)",
- url=URLs.gitlab_bot_repo,
+ url=URLs.github_bot_repo,
icon_url=URLs.bot_avatar
)
diff --git a/bot/cogs/logging.py b/bot/cogs/logging.py
index 6b8462f3b..b31db60d9 100644
--- a/bot/cogs/logging.py
+++ b/bot/cogs/logging.py
@@ -23,8 +23,8 @@ class Logging:
embed = Embed(description="Connected!")
embed.set_author(
name="Python Bot",
- url="https://gitlab.com/discord-python/projects/bot",
- icon_url="https://gitlab.com/python-discord/branding/raw/master/logos/logo_circle/logo_circle.png"
+ url="https://github.com/python-discord/bot",
+ icon_url="https://github.com/python-discord/branding/blob/master/logos/logo_circle/logo_circle.png"
)
if not DEBUG_MODE:
diff --git a/bot/constants.py b/bot/constants.py
index 4e14a85a8..d5b73bd1d 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -412,7 +412,7 @@ class URLs(metaclass=YAMLGetter):
# Misc endpoints
bot_avatar: str
deploy: str
- gitlab_bot_repo: str
+ github_bot_repo: str
status: str
# Site endpoints
diff --git a/config-default.yml b/config-default.yml
index be18b9475..fd83e69a4 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -273,7 +273,7 @@ urls:
# Misc URLs
bot_avatar: "https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle/logo_circle.png"
- gitlab_bot_repo: "https://gitlab.com/python-discord/projects/bot"
+ github_bot_repo: "https://github.com/python-discord/bot"
anti_spam:
# Clean messages that violate a rule.