[no ci] It got caught by the builder

This commit is contained in:
toast 2024-07-28 10:42:42 +10:00
parent c95a5d7f49
commit cf96469579

View File

@ -1,7 +1,7 @@
use std::sync::LazyLock; use std::sync::LazyLock;
pub struct ConfigMeta { pub struct ConfigMeta {
pub guild_id: u64, // pub guild_id: u64,
pub embed_color: i32, pub embed_color: i32,
pub ready_notify: u64, pub ready_notify: u64,
pub rss_channel: u64, pub rss_channel: u64,
@ -15,7 +15,7 @@ pub static BINARY_PROPERTIES: LazyLock<ConfigMeta> = LazyLock::new(|| ConfigMeta
#[cfg(not(feature = "production"))] #[cfg(not(feature = "production"))]
pub static BINARY_PROPERTIES: LazyLock<ConfigMeta> = LazyLock::new(|| pub static BINARY_PROPERTIES: LazyLock<ConfigMeta> = LazyLock::new(||
ConfigMeta::new() ConfigMeta::new()
.guild_id(865673694184996885) // .guild_id(865673694184996885)
.embed_color(0xf1d63c) .embed_color(0xf1d63c)
.ready_notify(865673694184996888) .ready_notify(865673694184996888)
.rss_channel(865673694184996888) .rss_channel(865673694184996888)
@ -25,7 +25,7 @@ pub static BINARY_PROPERTIES: LazyLock<ConfigMeta> = LazyLock::new(||
impl ConfigMeta { impl ConfigMeta {
fn new() -> Self { fn new() -> Self {
Self { Self {
guild_id: 865673694184996885, // guild_id: 865673694184996885,
embed_color: 0x5a99c7, embed_color: 0x5a99c7,
ready_notify: 865673694184996888, ready_notify: 865673694184996888,
rss_channel: 865673694184996888, rss_channel: 865673694184996888,
@ -37,11 +37,11 @@ impl ConfigMeta {
} }
// Scalable functions below; // Scalable functions below;
#[cfg(not(feature = "production"))] /* #[cfg(not(feature = "production"))]
fn guild_id(mut self, guild_id: u64) -> Self { fn guild_id(mut self, guild_id: u64) -> Self {
self.guild_id = guild_id; self.guild_id = guild_id;
self self
} } */
#[cfg(not(feature = "production"))] #[cfg(not(feature = "production"))]
fn embed_color(mut self, color: i32) -> Self { fn embed_color(mut self, color: i32) -> Self {