aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-10-27 13:46:50 -0700
committerFuwn <[email protected]>2020-10-27 13:46:50 -0700
commit7df153d4dd8279d1187deb8ad7cd90813cae153b (patch)
tree2a5258b4eff8c79b0e349eaa15154b0b6ea1d1d9 /src/db
parentchore: change workflow name and step name (diff)
downloaddep-core-next-7df153d4dd8279d1187deb8ad7cd90813cae153b.tar.xz
dep-core-next-7df153d4dd8279d1187deb8ad7cd90813cae153b.zip
feat, annotate, chore (desc)
feat: - feature request - github organization - change up the `uwu!` response - add parse and send goodbye to utils - add goodbye stuff to config model - add aliases to ignore remove and list - add alias to russian roulette annotate: - framework.rs chore: - change command group names - add discriminator to ready log - add period to fern log output - change up order of server info command + add stuff metnioned above other: - comment out config goodbye
Diffstat (limited to 'src/db')
-rw-r--r--src/db/models.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db/models.rs b/src/db/models.rs
index 2e6a460..b410edd 100644
--- a/src/db/models.rs
+++ b/src/db/models.rs
@@ -203,7 +203,7 @@ pub struct UserUpdate {
impl Display for Guild {
fn fmt(&self, f: &mut Formatter) -> FmtResult {
- write!(f, "**Admin Roles:** {}\n**Audit:** {}\n**Audit Channel:** {}\n**Audit Threshold:** {}\n**Autorole:** {}\n**Autoroles:** {}\n**Ignored Channels:** {}\n**Ignore Level:** {}\n**Introduction:** {}\n**Introduction Channel:** {}\n**Introduction Type:** {}\n**Introduction Message:** {}\n**Mod Roles: ** {}\n**Modlog:** {}\n**Modlog Channel:** {}\n**Mute Setup:** {}\n**Prefix:** {}\n**Welcome:** {}\n**Welcome Channel:** {}\n**Welcome Type:** {}\n**Welcome Message:** {}\n**Disabled Commands:** {}\n**Disabled Log Types:** {}",
+ write!(f, "**Admin Roles:** {}\n**Audit:** {}\n**Audit Channel:** {}\n**Audit Threshold:** {}\n**Autorole:** {}\n**Autoroles:** {}\n**Ignored Channels:** {}\n**Ignore Level:** {}\n**Introduction:** {}\n**Introduction Channel:** {}\n**Introduction Type:** {}\n**Introduction Message:** {}\n**Mod Roles: ** {}\n**Modlog:** {}\n**Modlog Channel:** {}\n**Mute Setup:** {}\n**Prefix:** {}\n**Welcome:** {}\n**Welcome Channel:** {}\n**Welcome Type:** {}\n**Welcome Message:** {}\n**Goodbye:** {}\n**Goodbye Channel:** {}\n**Goodbye Type:** {}\n**Goodbye Message:** {}\n**Disabled Commands:** {}\n**Disabled Log Types:** {}",
self.admin_roles.iter().map(|e| match RoleId(*e as u64).to_role_cached() {
Some(role) => role.name,
None => format!("{}", e),
@@ -234,6 +234,10 @@ impl Display for Guild {
format!("<#{}>", self.welcome_channel),
self.welcome_type,
self.welcome_message,
+ self.goodbye,
+ format!("<#{}>", self.goodbye_channel),
+ self.goodbye_type,
+ self.goodbye_message,
self.commands.join(", "),
self.logging.join(", ")
)}