Skip to content

Commit

Permalink
fix(cmd/set_welcome): send roles last
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Apr 30, 2024
1 parent a4197bc commit cdc0dac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/moderation/set_welcome.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cdc0dac

Please sign in to comment.