feat: add /configure-channels command
This commit is contained in:
parent
110edd34b4
commit
4db09346e2
7 changed files with 588 additions and 25 deletions
|
|
@ -167,7 +167,7 @@ public class WebhookExecutorService(
|
|||
return GetDefaultLogChannel(guild, logChannelType);
|
||||
}
|
||||
|
||||
private ulong? GetDefaultLogChannel(Guild guild, LogChannelType channelType) => channelType switch
|
||||
public static ulong? GetDefaultLogChannel(Guild guild, LogChannelType channelType) => channelType switch
|
||||
{
|
||||
LogChannelType.GuildUpdate => guild.Channels.GuildUpdate,
|
||||
LogChannelType.GuildEmojisUpdate => guild.Channels.GuildEmojisUpdate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue