Browse Source

bot to commands again for the gssp cog.

tags/v2.0.0
Roxie Gibson 5 years ago
parent
commit
1d3a788877
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      roxbot/cogs/gss.py

+ 4
- 4
roxbot/cogs/gss.py View File

#channel = self.bot.get_channel(450040463794241536) #channel = self.bot.get_channel(450040463794241536)
#await channel.send("Please read our <#396697172139180033> and <#422514427263188993> channels. To gain access to the server, you must agree to the rules.") #await channel.send("Please read our <#396697172139180033> and <#422514427263188993> channels. To gain access to the server, you must agree to the rules.")


@bot.command()
@commands.command()
async def agree(self, ctx): async def agree(self, ctx):
role = discord.utils.get(ctx.author.guild.roles, id=450042170112475136) role = discord.utils.get(ctx.author.guild.roles, id=450042170112475136)
try: try:
except discord.HTTPException: except discord.HTTPException:
pass pass


@bot.command(hidden=True)
@commands.command(hidden=True)
async def perms(self, ctx, role): async def perms(self, ctx, role):
"""Shell command to do the perm assigning. Only should be invoked by another command.""" """Shell command to do the perm assigning. Only should be invoked by another command."""
# Just in case some cunt looks at the source code and thinks they can give themselves Admin. # Just in case some cunt looks at the source code and thinks they can give themselves Admin.
) )


@is_gss() @is_gss()
@bot.command()
@commands.command()
async def selfieperms(self, ctx): async def selfieperms(self, ctx):
"""Requests the selfie perm role.""" """Requests the selfie perm role."""
arg = None arg = None


@is_not_nsfw_disabled() @is_not_nsfw_disabled()
@is_gss() @is_gss()
@bot.command()
@commands.command()
async def nsfwperms(self, ctx): async def nsfwperms(self, ctx):
"""Requests the NSFW Image Perm role.""" """Requests the NSFW Image Perm role."""
arg = None arg = None

Loading…
Cancel
Save