diff --git a/src/core/platform/strategy.ts b/src/core/platform/strategy.ts index 23c6e42..a0b8247 100644 --- a/src/core/platform/strategy.ts +++ b/src/core/platform/strategy.ts @@ -1,4 +1,3 @@ -import { Context } from "../structures/context"; enum DispatchType { Websocket, @@ -14,6 +13,7 @@ interface WebsocketStrategy { interactionCreate: string; messageCreate: string; ready: string; + defaultPrefix: string; } interface ServerlessStrategy { diff --git a/src/core/structures/wrapper.ts b/src/core/structures/wrapper.ts index 4dcfded..64420a7 100644 --- a/src/core/structures/wrapper.ts +++ b/src/core/structures/wrapper.ts @@ -8,6 +8,10 @@ import { PlatformStrategy } from '../platform/strategy'; */ interface Wrapper { readonly platform: PlatformStrategy; + /** + * @deprecated + * Add defaultprefix to platform field instead + */ readonly defaultPrefix?: string; readonly commands: string; readonly events?: string;