1mod command;
2mod listener;
3
4pub use crate::{command::Command, listener::Listener};
5
6pub fn credits() {
7 println!("This is a simple command listener written in Rust.");
8 println!("It allows you to create commands and listen for them.");
9 println!("You can add commands, set their names, descriptions, and execute functions.");
10 println!("Commands can be executed by typing their name in the listener.");
11 println!("Type 'exit' to stop the listener.");
12 println!("Type 'list' to see the list of commands.");
13 println!();
14 println!("Author: man_humor");
15}