Comparing version 1.2.6-adv to 1.2.7-adv
{ | ||
"name": "erine", | ||
"version": "1.2.6-adv", | ||
"version": "1.2.7-adv", | ||
"description": "An advanced OceanicJS-based command framework to create your Discord bots with ease.", | ||
"types": "sand/main.d.ts", | ||
"main": "sand/main.js", | ||
"exports": { | ||
"experiments": "./dist/experiments.js" | ||
}, | ||
"contributors": [ | ||
@@ -8,0 +11,0 @@ "Cyberghxst", |
@@ -18,5 +18,5 @@ import { ClientEvents, Fold, Core, Context, HelpCommand, Cooldowns, Maker } from "../main"; | ||
constructor(options: SetupOptions); | ||
getContext(data: CommandInteraction | Message): Context; | ||
getContext<C extends Context = Context>(data: CommandInteraction | Message): C; | ||
load(dir: string, providingCwd?: boolean): Promise<Maker[]>; | ||
connect(): Promise<void>; | ||
} |
@@ -12,6 +12,6 @@ import { Erine, BaseParam, Context, AnyChannel, Guild, Role, CommandObject, CommandInteraction } from "../main"; | ||
}): Promise<import("oceanic.js/dist/lib/structures/Member").default | null>; | ||
getChannel(query: string, options: { | ||
getChannel<T extends AnyChannel = AnyChannel>(query: string, options: { | ||
guild: Guild; | ||
force?: boolean; | ||
}): Promise<AnyChannel | null>; | ||
}): Promise<AnyChannel | null | undefined>; | ||
getRole(query: string, options: { | ||
@@ -18,0 +18,0 @@ guild: Guild; |
@@ -20,2 +20,3 @@ import { ApplicationCommandTypes } from 'oceanic.js'; | ||
export type AnyError = Errors.InvalidParam | Errors.GuildOnly | Errors.NotOwner | Errors.CommandNotFound | Errors.UnknownCommandError | Errors.MissingRequiredParam | Errors.InvalidParamNumber | Errors.InvalidParamChoice | Errors.MissingPermission | Errors.MissingChannelPermission | Errors.MissingBotPermission | Errors.MissingBotChannelPermission | Errors.InvalidParamBoolean | Errors.InvalidParamMember | Errors.InvalidParamChannel | Errors.InvalidParamRole | Errors.InvalidChannelType | Errors.InvalidParamAttachment | Errors.NotNSFW | Errors.NotInChannelType | Errors.OnlyForIDs | Errors.CommandInCooldown; | ||
export * from './classes/experiments/Paginator'; | ||
export interface GroupObject { | ||
@@ -22,0 +23,0 @@ name: string; |
@@ -40,2 +40,3 @@ "use strict"; | ||
exports.Plugins = Plugins; | ||
tslib_1.__exportStar(require("./classes/experiments/Paginator"), exports); | ||
var Bucket; | ||
@@ -42,0 +43,0 @@ (function (Bucket) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164339
46
1887