aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-12-18 22:27:14 +0100
committerGravatar GitHub <[email protected]>2018-12-18 22:27:14 +0100
commit17c75f682a56f7456974d069cf1289e99c82d888 (patch)
treec426e751c539efb727c6ce44ec96be97554b49fd
parentUpdate bot/cogs/information.py (diff)
parentUpdate README.md (diff)
Merge branch 'master' into user_command_improvements
-rw-r--r--README.md2
-rw-r--r--bot/cogs/alias.py6
-rw-r--r--docker/base.Dockerfile1
3 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index bfa9d3e42..1c9e52b71 100644
--- a/README.md
+++ b/README.md
@@ -3,5 +3,5 @@
[![Build Status](https://dev.azure.com/python-discord/Python%20Discord/_apis/build/status/Bot%20(Mainline))](https://dev.azure.com/python-discord/Python%20Discord/_build/latest?definitionId=1)
[![Discord](https://discordapp.com/api/guilds/267624335836053506/embed.png)](https://discord.gg/2B963hn)
-This project is a Discord bot specifically for use with the Python Discord server. It will provide numerous utilities
+This project is a Discord bot specifically for use with the Python Discord server. It provides numerous utilities
and other tools to help keep the server running like a well-oiled machine.
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py
index 12edb202f..2ce4a51e3 100644
--- a/bot/cogs/alias.py
+++ b/bot/cogs/alias.py
@@ -1,7 +1,7 @@
import inspect
import logging
-from discord import Colour, Embed, TextChannel, User
+from discord import Colour, Embed, User
from discord.ext.commands import (
Command, Context, clean_content, command, group
)
@@ -71,13 +71,13 @@ class Alias:
@command(name="watch", hidden=True)
async def bigbrother_watch_alias(
- self, ctx, user: User, channel: TextChannel = None
+ self, ctx, user: User, *, reason: str = None
):
"""
Alias for invoking <prefix>bigbrother watch user [text_channel].
"""
- await self.invoke(ctx, "bigbrother watch", user, channel)
+ await self.invoke(ctx, "bigbrother watch", user, reason=reason)
@command(name="unwatch", hidden=True)
async def bigbrother_unwatch_alias(self, ctx, user: User):
diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile
index a1ec0866e..e46db756a 100644
--- a/docker/base.Dockerfile
+++ b/docker/base.Dockerfile
@@ -8,6 +8,7 @@ RUN apk add --update jpeg-dev
RUN apk add --update libxml2 libxml2-dev libxslt-dev
RUN apk add --update zlib-dev
RUN apk add --update freetype-dev
+RUN apk add --update git
ENV LIBRARY_PATH=/lib:/usr/lib
ENV PIPENV_VENV_IN_PROJECT=1