|
|
|
@ -54,9 +54,12 @@ pub async fn parse_command(ctx: Context, msg: Message, server_id: GuildId)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Modify this to post the real Reaction Roles message
|
|
|
|
// TODO: Modify this to post the real Reaction Roles message
|
|
|
|
if (UserId::from(owner_id) == msg.author.id || UserId::from(BEL_WORK_USER_ID) == msg.author.id) && command_start == Some(".dotestmsg")
|
|
|
|
if (UserId::from(owner_id) == msg.author.id ||
|
|
|
|
|
|
|
|
UserId::from(BEL_WORK_USER_ID) == msg.author.id) &&
|
|
|
|
|
|
|
|
command_start == Some(".dorolesmsg")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if let Some(msg) = utils::send_msg(ctx.clone(), ChannelId::from(SM_TEST_CHANNEL_ID), "Test message!").await
|
|
|
|
if let Some(msg) = utils::send_msg(ctx.clone(),
|
|
|
|
|
|
|
|
ChannelId::from(SM_TEST_CHANNEL_ID), "Test message!").await
|
|
|
|
{
|
|
|
|
{
|
|
|
|
println!("Test message id is: {:#?}", msg.id)
|
|
|
|
println!("Test message id is: {:#?}", msg.id)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|