From 77f11e4c235dc3bf1388be9ccebbf6fa7fc6e863 Mon Sep 17 00:00:00 2001 From: Mateleo Date: Fri, 15 Dec 2023 14:58:49 +0100 Subject: [PATCH] Update global-preconditions.mdx --- docs/Guide/preconditions/global-preconditions.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Guide/preconditions/global-preconditions.mdx b/docs/Guide/preconditions/global-preconditions.mdx index ec525d34..6c00c277 100644 --- a/docs/Guide/preconditions/global-preconditions.mdx +++ b/docs/Guide/preconditions/global-preconditions.mdx @@ -31,7 +31,7 @@ export class UserPrecondition extends AllFlowsPrecondition { #message = "Sorry but your server is banned from using this bot's commands. Contact the bot developer for more information."; - public constructor(context: Piece.LoaderContext, options: AllFlowsPrecondition.Options) { + public constructor(context: AllFlowsPrecondition.LoaderContext, options: AllFlowsPrecondition.Options) { super(context, { ...options, position: 20