From cdc0dac0c31f9b16d72b6f0b7324ca9fc8c3b461 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Wed, 1 May 2024 00:22:42 +0200 Subject: [PATCH] fix(cmd/set_welcome): send roles last Signed-off-by: Sefa Eyeoglu --- src/commands/moderation/set_welcome.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/moderation/set_welcome.rs b/src/commands/moderation/set_welcome.rs index be35ac0..0746b81 100644 --- a/src/commands/moderation/set_welcome.rs +++ b/src/commands/moderation/set_welcome.rs @@ -171,14 +171,14 @@ pub async fn set_welcome( channel_id.send_message(ctx, embed).await?; } - for message in roles_messages { - channel_id.send_message(ctx, message).await?; - } - for message in welcome_layout.messages { channel_id.say(ctx, message).await?; } + for message in roles_messages { + channel_id.send_message(ctx, message).await?; + } + if let Some(log_channel) = configured_channels.log_channel_id { let author = utils::embed_author_from_user(ctx.author()); let embed = CreateEmbed::new()