From 8ba38c04a471fac1f00c43fb2635e3253f43a816 Mon Sep 17 00:00:00 2001 From: Ravener Date: Tue, 22 Oct 2024 04:28:05 +0500 Subject: [PATCH] Fix usage of additional_prefixes in the example (#264) --- examples/basic_structure/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic_structure/main.rs b/examples/basic_structure/main.rs index 6046e02e1e84..a97bc68b0795 100644 --- a/examples/basic_structure/main.rs +++ b/examples/basic_structure/main.rs @@ -50,8 +50,8 @@ async fn main() { Duration::from_secs(3600), ))), additional_prefixes: vec![ - poise::Prefix::Literal("hey bot"), poise::Prefix::Literal("hey bot,"), + poise::Prefix::Literal("hey bot"), ], ..Default::default() },