Add constants.rs docs and update CLI's doc header

This commit is contained in:
2025-08-10 21:55:21 -03:00
parent ca9c25159e
commit 5bd9cbd3ee
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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.
//!
+6
View File
@@ -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;