feat: redirect commands
This commit is contained in:
parent
03dc16b0b3
commit
bacbc6db0e
7 changed files with 212 additions and 7 deletions
|
|
@ -321,9 +321,9 @@ public class WebhookExecutorService(
|
|||
guild.Channels.Redirects.TryGetValue(channelId.Value.Value, out var channelRedirect)
|
||||
)
|
||||
return channelRedirect;
|
||||
if (categoryRedirect != 0)
|
||||
return categoryRedirect;
|
||||
return GetDefaultLogChannel(guild, logChannelType);
|
||||
return categoryRedirect != 0
|
||||
? categoryRedirect
|
||||
: GetDefaultLogChannel(guild, logChannelType);
|
||||
}
|
||||
|
||||
return GetDefaultLogChannel(guild, logChannelType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue