From f6803dd64aafb9a36dfb59e0f357e8ae433d2111 Mon Sep 17 00:00:00 2001 From: Faiz Ahmed Date: Mon, 26 Jul 2021 13:09:54 -0400 Subject: [PATCH] added aliases and updated docker file --- Dockerfile | 7 +------ app/bot/cogs/app.py | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36012fe..1ad2f16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,5 @@ -FROM python:3.6-slim +FROM gorialis/discord.py WORKDIR /app COPY . . -RUN apt-get clean \ - && apt-get -y update -RUN apt-get -y install nginx \ - && apt-get -y install python3-dev \ - && apt-get -y install build-essential RUN pip install -Ur requirements.txt CMD ["python", "Run.py"] \ No newline at end of file diff --git a/app/bot/cogs/app.py b/app/bot/cogs/app.py index 8634fc8..0effd62 100644 --- a/app/bot/cogs/app.py +++ b/app/bot/cogs/app.py @@ -161,12 +161,12 @@ class app(commands.Cog): @commands.has_permissions(administrator=True) - @commands.command() + @commands.command(aliases=['plexadd']) async def plexinvite(self, ctx, email): await self.addtoplex(email, ctx.channel) @commands.has_permissions(administrator=True) - @commands.command() + @commands.command(aliases=['plexrm']) async def plexremove(self, ctx, email): await self.removefromplex(email, ctx.channel)