From eeaaac7bc8d12ff405d89d42fef1362c7ef4c7ef Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sat, 27 Apr 2019 15:02:08 +0200 Subject: Removing dulwich, a pointless and c-bindingy dependency. --- Pipfile | 1 - bot/cogs/bot.py | 6 ------ 2 files changed, 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", -- cgit v1.2.3