From 52bcba9cfc2e40a119b4264eddc70b015436b39e Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sat, 15 Apr 2023 12:16:35 -0500 Subject: [PATCH] docs: add deprecation warning --- src/handler/structures/wrapper.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/handler/structures/wrapper.ts b/src/handler/structures/wrapper.ts index 657174e..91514a1 100644 --- a/src/handler/structures/wrapper.ts +++ b/src/handler/structures/wrapper.ts @@ -6,6 +6,10 @@ import type { Dependencies } from '../../types/handler'; * @typedef {object} Wrapper */ interface Wrapper { + /** + * @deprecated + * This will be moved to a new field in 3.0.0 + */ readonly defaultPrefix?: string; readonly commands: string; readonly events?: string;