diff options
| author | 2019-04-27 15:02:08 +0200 | |
|---|---|---|
| committer | 2019-04-27 15:02:08 +0200 | |
| commit | eeaaac7bc8d12ff405d89d42fef1362c7ef4c7ef (patch) | |
| tree | 6c565b72e35c026bb51130f18f28cc09ccca451e | |
| parent | Merge pull request #355 from python-discord/offtopicnames-bugfix (diff) | |
Removing dulwich, a pointless and c-bindingy dependency.
| -rw-r--r-- | Pipfile | 1 | ||||
| -rw-r--r-- | bot/cogs/bot.py | 6 | 
2 files changed, 0 insertions, 7 deletions
| @@ -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", | 
