More more debugging
This commit is contained in:
parent
6236724e13
commit
6c99900fe4
@ -103,9 +103,14 @@ class Recruitment(commands.Cog):
|
||||
return
|
||||
|
||||
# Send the embed to the application channel
|
||||
application_channel = await self.config.guild(guild).application_channel_id()
|
||||
if not application_channel:
|
||||
await author.send("The application channel has not been set. Please use the `setapplicationchannel` command to set it.")
|
||||
application_channel_id = await self.config.guild(guild).application_channel_id()
|
||||
if not application_channel_id:
|
||||
await author.send("The application channel has not been set. Please use the `setapplicationschannel` command to set it.")
|
||||
return
|
||||
|
||||
application_channel = guild.get_channel(application_channel_id)
|
||||
if application_channel is None:
|
||||
await author.send(f"The application channel with ID {application_channel_id} could not be found.")
|
||||
return
|
||||
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user