From a388416945720f2d3821634c8ba8343ef1ed77da Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 5 Apr 2022 22:53:05 -0700 Subject: [PATCH] Disable message pinning --- src/commands/owner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/owner.rs b/src/commands/owner.rs index 431d67b..0632a10 100644 --- a/src/commands/owner.rs +++ b/src/commands/owner.rs @@ -91,7 +91,7 @@ async fn setAnnouncementRole(ctx: &Context, msg: &Message, mut args: Args) -> Co #[command] #[owners_only] async fn announce(ctx: &Context, msg: &Message, args: Args) -> CommandResult { - send(ctx, msg, args.rest(), true, true).await + send(ctx, msg, args.rest(), true, false).await } #[command] @@ -111,7 +111,7 @@ You can make submissions in both languages, but please submit in your target lan }, p = env::var("PREFIX").unwrap() ); - send(ctx, msg, &message, true, true).await + send(ctx, msg, &message, true, false).await } #[command]