mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
add deprecation warning
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user