added aliases and updated docker file
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
FROM python:3.6-slim
|
FROM gorialis/discord.py
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
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
|
RUN pip install -Ur requirements.txt
|
||||||
CMD ["python", "Run.py"]
|
CMD ["python", "Run.py"]
|
||||||
@@ -161,12 +161,12 @@ class app(commands.Cog):
|
|||||||
|
|
||||||
|
|
||||||
@commands.has_permissions(administrator=True)
|
@commands.has_permissions(administrator=True)
|
||||||
@commands.command()
|
@commands.command(aliases=['plexadd'])
|
||||||
async def plexinvite(self, ctx, email):
|
async def plexinvite(self, ctx, email):
|
||||||
await self.addtoplex(email, ctx.channel)
|
await self.addtoplex(email, ctx.channel)
|
||||||
|
|
||||||
@commands.has_permissions(administrator=True)
|
@commands.has_permissions(administrator=True)
|
||||||
@commands.command()
|
@commands.command(aliases=['plexrm'])
|
||||||
async def plexremove(self, ctx, email):
|
async def plexremove(self, ctx, email):
|
||||||
await self.removefromplex(email, ctx.channel)
|
await self.removefromplex(email, ctx.channel)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user