discord-kurante/src/commands/source.rs

12 lines
335 B
Rust
Raw Normal View History

2020-05-02 02:48:39 +00:00
use serenity::framework::standard::{macros::command, CommandResult};
use serenity::model::channel::Message;
use serenity::prelude::Context;
#[command]
async fn source(ctx: &mut Context, msg: &Message) -> CommandResult {
msg.channel_id
.say(ctx, "https://git.eddie.sh/edward/discord-kurante")
.await?;
Ok(())
}