blob: b3c433dd981cb2c45d61bbb38b2cfa6734451587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use crate::api::guzzle::get_random_teawie;
use serenity::builder::CreateApplicationCommand;
use serenity::model::prelude::interaction::application_command::CommandDataOption;
pub async fn run(_: &[CommandDataOption]) -> String {
get_random_teawie().await
}
pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand {
command
.name("random_teawie")
.description("get a random teawie!")
}
|