Add constants.rs docs and update CLI's doc header
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
//! Payphone's main entry point, which initializes the bot and starts the event loop.
|
||||
//! Payphone's main entry point.
|
||||
//!
|
||||
//! This module is responsible for parsing command line arguments, nothing else.
|
||||
//!
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
//! Constants used throughout the Payphone project.
|
||||
|
||||
/// The default command prefix used by the bot for new servers.
|
||||
pub const DEFAULT_PREFIX: &str = "p.";
|
||||
|
||||
/// A cream white color extracted from Payphone's avatar picture, used for generic embeds.
|
||||
pub const COLOR_WHITE: u32 = 0xE2D9D0;
|
||||
|
||||
/// A red color used for error messages and moderator embeds.
|
||||
pub const COLOR_RED: u32 = 0xFF8787;
|
||||
|
||||
Reference in New Issue
Block a user