aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commands/admins
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-11-05 13:25:16 -0800
committerFuwn <[email protected]>2020-11-05 13:25:16 -0800
commit9eb1675f3c6dc001ed8beaef9328472332123555 (patch)
tree7482ac55d120b923d8cedb3a0bfd37815e323e15 /src/modules/commands/admins
parentfix: mention parsing (diff)
downloaddep-core-next-main.tar.xz
dep-core-next-main.zip
fix. chore: (codeblock config raw), (remove unused import)HEADport-0.6main
Diffstat (limited to 'src/modules/commands/admins')
-rw-r--r--src/modules/commands/admins/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commands/admins/config.rs b/src/modules/commands/admins/config.rs
index c3a0252..e3f0820 100644
--- a/src/modules/commands/admins/config.rs
+++ b/src/modules/commands/admins/config.rs
@@ -28,7 +28,7 @@ impl Command for ConfigRaw {
fn execute(&self, _: &mut Context, message: &Message, _: Args) -> Result<(), CommandError> {
if let Some(guild_id) = message.guild_id {
let guild_data = db.get_guild(guild_id.0 as i64)?;
- message.channel_id.say(format!("{:?}", guild_data))?;
+ message.channel_id.say(format!("```{:?}```", guild_data))?;
} else {
failed!(GUILDID_FAIL);
}