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