diakonos/cherubim/entrycontrolresponder.py

16 lines
1.2 KiB
Python
Raw Permalink Normal View History

2024-01-17 00:20:44 -05:00
from redbot.core import commands
import discord
import os
dir_path = os.path.dirname(__file__)
class EntryControlResponder(commands.Cog):
@commands.Cog.listener()
async def on_message(self, message):
if message.guild:
if message.guild.id == 858664948266958908 and ("entry-" in message.channel.name or "ticket-" in message.channel.name):
if message.author.id == 557628352828014614 and len(message.embeds) > 0:
if "welcome to our server!" in message.embeds[0].description:
embedToSend = discord.Embed(description="**1. Are you an Orthodox Christian? If yes, are you Eastern or Oriental Orthodox? Are you a catechumen or a baptised member? If no, are you another sort of Christian?**\n\n**2. What is your reason for joining the server?**\n\n**3. What is your biological gender?**\n\n**4. Which of these best describes where you live? \"UK and Ireland\", \"Europe\", \"Americas\", \"Asia\", \"Africa\", \"Australia and NZ\"**\n\n**5. Are you married, and/or do you have any children?**\n\n**6. On a scale of 0 to totally addicted, how do you feel about knitting?**")
await message.channel.send(embed=embedToSend)