mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Use WelcomeMessagesChannel
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
196f65c1a4
commit
b42308e4b6
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ public class GuildMemberLeftResponder : IResponder<IGuildMemberRemove>
|
|||
return Result.FromSuccess();
|
||||
}
|
||||
|
||||
if (GuildSettings.PublicFeedbackChannel.Get(cfg).Empty()
|
||||
if (GuildSettings.WelcomeMessagesChannel.Get(cfg).Empty()
|
||||
|| GuildSettings.LeaveMessage.Get(cfg) is "off" or "disable" or "disabled")
|
||||
{
|
||||
return Result.FromSuccess();
|
||||
|
@ -66,7 +66,7 @@ public class GuildMemberLeftResponder : IResponder<IGuildMemberRemove>
|
|||
.Build();
|
||||
|
||||
return await _channelApi.CreateMessageWithEmbedResultAsync(
|
||||
GuildSettings.PublicFeedbackChannel.Get(cfg), embedResult: embed,
|
||||
GuildSettings.WelcomeMessagesChannel.Get(cfg), embedResult: embed,
|
||||
allowedMentions: Octobot.NoMentions, ct: ct);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue