Переглянути джерело

added help text.

tags/v1.7.1
Roxie Gibson 6 роки тому
джерело
коміт
8664f75bc1
1 змінених файлів з 2 додано та 0 видалено
  1. +2
    -0
      roxbot/cogs/gss.py

+ 2
- 0
roxbot/cogs/gss.py Переглянути файл

if member.guild.id == gssp_id: if member.guild.id == gssp_id:
role = discord.utils.get(member.guild.roles, id=450042170112475136) role = discord.utils.get(member.guild.roles, id=450042170112475136)
await member.add_roles(role, reason="Auto-add role on join") await member.add_roles(role, reason="Auto-add role on join")
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.")


@bot.command() @bot.command()
async def agree(self, ctx): async def agree(self, ctx):

Завантаження…
Відмінити
Зберегти