Add guild name to setSubmissionChannel command
This commit is contained in:
parent
c42faaf6a3
commit
be78e7c88c
1 changed files with 1 additions and 2 deletions
|
@ -86,10 +86,9 @@ async fn setSubmissionChannel(ctx: &Context, msg: &Message) -> CommandResult {
|
|||
guild_data.insert(guild, json!({ "submissionChannel": channel }));
|
||||
}
|
||||
set_guild_data(guild_data);
|
||||
// TODO: Add guild name in message
|
||||
msg.reply(
|
||||
&ctx.http,
|
||||
format!("Submission channel set to <#{}>.", msg.channel_id),
|
||||
format!("Submission channel for **{}** set to <#{}>.", msg.guild(&ctx).await.unwrap().name, msg.channel_id),
|
||||
)
|
||||
.await?;
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Reference in a new issue