aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Pipfile1
-rw-r--r--bot/cogs/bot.py6
2 files changed, 0 insertions, 7 deletions
diff --git a/Pipfile b/Pipfile
index 45b013076..b1f9993a5 100644
--- a/Pipfile
+++ b/Pipfile
@@ -5,7 +5,6 @@ name = "pypi"
[packages]
discord-py = {git = "https://github.com/Rapptz/discord.py.git",extras = ["voice"],ref = "860d6a9ace8248dfeec18b8b159e7b757d9f56bb",editable = true}
-dulwich = "*"
aiodns = "*"
logmatic-python = "*"
aiohttp = "*"
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index 61bad422d..828e2514c 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -5,7 +5,6 @@ import time
from discord import Embed, Message, RawMessageUpdateEvent
from discord.ext.commands import Bot, Context, command, group
-from dulwich.repo import Repo
from bot.constants import (
Channels, Guild, MODERATION_ROLES,
@@ -66,12 +65,7 @@ class Bot:
url="https://gitlab.com/discord-python/projects/bot"
)
- repo = Repo(".")
- sha = repo[repo.head()].sha().hexdigest()
-
embed.add_field(name="Total Users", value=str(len(self.bot.get_guild(Guild.id).members)))
- embed.add_field(name="Git SHA", value=str(sha)[:7])
-
embed.set_author(
name="Python Bot",
url="https://gitlab.com/discord-python/projects/bot",