From dcbbfe7e38c4aa403e3b341fee3f7b5d3cea19b5 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Thu, 2 Aug 2018 15:55:05 +0200 Subject: Use `Args::full` in the framework example --- examples/05_command_framework/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/05_command_framework') diff --git a/examples/05_command_framework/src/main.rs b/examples/05_command_framework/src/main.rs index be8ff41..9518f8a 100644 --- a/examples/05_command_framework/src/main.rs +++ b/examples/05_command_framework/src/main.rs @@ -263,7 +263,7 @@ fn admin_check(_: &mut Context, msg: &Message, _: &mut Args, _: &CommandOptions) } command!(some_long_command(_ctx, msg, args) { - if let Err(why) = msg.channel_id.say(&format!("Arguments: {:?}", args)) { + if let Err(why) = msg.channel_id.say(&format!("Arguments: {}", args.full())) { println!("Error sending message: {:?}", why); } }); -- cgit v1.2.3