Comparing version 3.0.8-dev to 3.0.10-dev
{ | ||
"name": "erine", | ||
"version": "3.0.8-dev", | ||
"version": "3.0.10-dev", | ||
"description": "A OceanicJS-based command framework to create your Discord bots with ease.", | ||
@@ -5,0 +5,0 @@ "types": "sand/main.d.ts", |
@@ -0,0 +0,0 @@ import { Events, Fold, Core, Context } from "../main"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Erine, CommandObject, GroupObject, BaseParam, InitialInteractionContent, CommandInteraction, CreateMessageOptions, Guild, Member, Message, User, AnyTextChannelWithoutGroup } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Collection, Erine, Bucket } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Erine, BaseParam, Context, AnyChannel, Guild, Role } from "../main"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BaseParam, ChannelParam, Context, Channel, ChannelTypes, PermissionName } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Erine, Maker } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Erine, CommandObject } from "../main"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Context, ChannelTypes } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { GroupObject } from "../main"; | ||
export declare function Group(options: GroupObject | string): (target: any, key: string, descriptor: PropertyDescriptor) => void; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ChannelTypes } from '../main'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,2 +0,3 @@ | ||
import { Interaction, Maker } from "../main"; | ||
import { Interaction } from "../main"; | ||
import { Maker } from "../classes/Maker"; | ||
declare class InteractionHandler extends Maker { | ||
@@ -3,0 +4,0 @@ interactionCreate(interaction: Interaction): Promise<boolean | undefined>; |
@@ -7,3 +7,4 @@ "use strict"; | ||
const types_1 = require("util/types"); | ||
class InteractionHandler extends main_1.Maker { | ||
const Maker_1 = require("../classes/Maker"); | ||
class InteractionHandler extends Maker_1.Maker { | ||
async interactionCreate(interaction) { | ||
@@ -10,0 +11,0 @@ if (interaction.type == main_1.InteractionTypes.APPLICATION_COMMAND) { |
@@ -1,2 +0,3 @@ | ||
import { Context, Maker, Message, CommandObject } from "../main"; | ||
import { Context, Message, CommandObject } from "../main"; | ||
import { Maker } from "../classes/Maker"; | ||
declare class MessageHandler extends Maker { | ||
@@ -3,0 +4,0 @@ messageCreate(message: Message): Promise<boolean | undefined>; |
@@ -7,3 +7,4 @@ "use strict"; | ||
const types_1 = require("util/types"); | ||
class MessageHandler extends main_1.Maker { | ||
const Maker_1 = require("../classes/Maker"); | ||
class MessageHandler extends Maker_1.Maker { | ||
async messageCreate(message) { | ||
@@ -10,0 +11,0 @@ if (message.author.bot) |
@@ -15,3 +15,3 @@ import { ClientEvents } from 'oceanic.js'; | ||
import * as Plugins from './decorators/PluginsMacro'; | ||
export declare 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 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 interface Events extends ClientEvents { | ||
@@ -43,5 +43,5 @@ commandError: [error: AnyError]; | ||
} | ||
export declare type AsyncFunction<S, T> = (args: S) => Promise<T>; | ||
export declare type SyncFunction<S, T> = (args: S) => T; | ||
export declare type Plugin = AsyncFunction<Context, boolean> | SyncFunction<Context, boolean> | Promise<(ctx: Context) => Promise<boolean>>; | ||
export type AsyncFunction<S, T> = (args: S) => Promise<T>; | ||
export type SyncFunction<S, T> = (args: S) => T; | ||
export type Plugin = AsyncFunction<Context, boolean> | SyncFunction<Context, boolean> | Promise<(ctx: Context) => Promise<boolean>>; | ||
export * from 'oceanic.js'; | ||
@@ -48,0 +48,0 @@ export { Builders, Collectors, Maker, BaseParam, ChannelParam, NumberParam, StringParam, Erine, Fold, Command, Event, Core, Group, Context, Errors, Plugins, Param, TypeOfParam, ParamType }; |
@@ -0,0 +0,0 @@ "use strict"; |
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
115746
35
1354