added aliases and updated docker file

This commit is contained in:
Faiz Ahmed
2021-07-26 13:09:54 -04:00
parent 25dfad0480
commit f6803dd64a
2 changed files with 3 additions and 8 deletions

View File

@@ -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"]

View File

@@ -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)