Compare commits
No commits in common. "db37ee7516b2a213832b9e6d096f75ccff5d08db" and "8ab3d67542001ced0843622a45abaeb8f51e5359" have entirely different histories.
db37ee7516
...
8ab3d67542
|
|
@ -76,14 +76,6 @@ async fn unignore_channel_for_xp(ctx: ManifoldContext<'_>, channel: serenity::Ch
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[poise::command(slash_command, prefix_command, required_permissions = "ADMINISTRATOR")]
|
||||
async fn send_message(ctx: ManifoldContext<'_>, channel: serenity::ChannelId, message: String) -> ManifoldResult<()> {
|
||||
|
||||
channel.say(&ctx, message).await?;
|
||||
ctx.reply(format!("Sent message to channel <#{channel}>", channel=channel)).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn commands() -> [poise::Command<ManifoldData, ManifoldError>; 10] {
|
||||
[void_user(), unvoid_user(), airlock_user(), record_chronicle(), security_record(), add_quarantine_channel(), remove_quarantine_channel(), ignore_channel_for_xp(), unignore_channel_for_xp(), send_message()]
|
||||
pub fn commands() -> [poise::Command<ManifoldData, ManifoldError>; 9] {
|
||||
[void_user(), unvoid_user(), airlock_user(), record_chronicle(), security_record(), add_quarantine_channel(), remove_quarantine_channel(), ignore_channel_for_xp(), unignore_channel_for_xp()]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue