blob: b07660e715f6e686fcd66557894df9d5d45089b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use crate::utils::get_random_lore;
use serenity::builder::CreateApplicationCommand;
use serenity::model::prelude::interaction::application_command::CommandDataOption;
pub fn run(_: &[CommandDataOption]) -> String {
get_random_lore()
}
pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand {
command
.name("random_lore")
.description("get a random piece of teawie lore!")
}
|