aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commands/general/utilities.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/commands/general/utilities.rs')
-rw-r--r--src/modules/commands/general/utilities.rs14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/modules/commands/general/utilities.rs b/src/modules/commands/general/utilities.rs
index fc6fc36..74052de 100644
--- a/src/modules/commands/general/utilities.rs
+++ b/src/modules/commands/general/utilities.rs
@@ -344,15 +344,15 @@ impl Command for ServerInfo {
.embed(|e| e
.thumbnail(guild.icon_url().unwrap_or("https://cdn.discordapp.com/embed/avatars/0.png".to_string()))
.color(*colours::MAIN)
- .field("ID", guild.id, true)
.field("Name", &guild.name, true)
+ .field("ID", guild.id, true)
.field("Owner", guild.owner_id.mention(), true)
.field("Region", guild.region, true)
- .field(format!("Channels [{}]", guild.channels.len()), format!("Categories: {}\nText: {}\nVoice: {}", channels.2, channels.0, channels.1), true)
.field(format!("Members [{}/{}]", members.2, guild.members.len()), format!("Humans: {}\nBots: {}", members.0, members.1), true)
- .field("Created", guild.id.created_at().format("%a, %d %h %Y @ %H:%M:%S").to_string(), false)
+ .field(format!("Channels [{}]", guild.channels.len()), format!("Categories: {}\nText: {}\nVoice: {}", channels.2, channels.0, channels.1), true)
.field("Roles", guild.roles.len(), true)
.field("Emojis", guild.emojis.len(), true)
+ .field("Created", guild.id.created_at().format("%a, %d %h %Y @ %H:%M:%S").to_string(), false)
.title(guild.name)
))?;
},
@@ -708,7 +708,7 @@ impl Command for Wisp {
.description("Hey ! I'm Wisp, I was written in [Rust](https://www.rust-lang.org/) using [Serenity](https://github.com/serenity-rs/serenity).")
.field("Owner/ Developer", format!(
"Name: {}\nID: {}"
- ,owner.tag()
+ ,owner.mention()
,owner.id)
,true)
// .field("Links", format!(
@@ -720,8 +720,10 @@ impl Command for Wisp {
// ,true)
.field("Useful Links", format!(
// "[Support Server]({})\n[Invite]({})\n[GitLab]({})\n[Patreon]({})"
- "[Invite]({})"
- // ,SUPPORT_SERV_INVITE
+ "[Support Server]({})\n[GitHub Organization]({})\n[Feature Request]({})\n[Invite]({})"
+ ,SUPPORT_SERV_INVITE
+ ,GITHUB_ORG_LINK
+ ,FEATURE_REQUEST_LINK
,BOT_INVITE)
// ,GITLAB_LINK
// ,PATREON_LINK)