fix(cmd/set_welcome): send roles last
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
a4197bc5af
commit
cdc0dac0c3
1 changed files with 4 additions and 4 deletions
|
@ -171,14 +171,14 @@ pub async fn set_welcome(
|
||||||
channel_id.send_message(ctx, embed).await?;
|
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 {
|
for message in welcome_layout.messages {
|
||||||
channel_id.say(ctx, message).await?;
|
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 {
|
if let Some(log_channel) = configured_channels.log_channel_id {
|
||||||
let author = utils::embed_author_from_user(ctx.author());
|
let author = utils::embed_author_from_user(ctx.author());
|
||||||
let embed = CreateEmbed::new()
|
let embed = CreateEmbed::new()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue