Socket
Socket
Sign inDemoInstall

@notenoughupdates/discord-akairo

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notenoughupdates/discord-akairo - npm Package Compare versions

Comparing version 9.0.10-dev.1642740434.20b44c6 to 9.0.10-dev.1642804356.e93bed8

2

dist/package.json
{
"name": "@notenoughupdates/discord-akairo",
"version": "9.0.10-dev.1642740434.20b44c6",
"version": "9.0.10-dev.1642804356.e93bed8",
"description": "A highly customizable bot framework for Discord.js.",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

import type { APIInteractionGuildMember, APIMessage } from "discord-api-types/v9";
import { Base, ChatInputCommandInteraction, ContextMenuCommandInteraction, Guild, GuildMember, InteractionReplyOptions, Message, MessagePayload, Snowflake, TextBasedChannel, User } from "discord.js";
import { Base, ChatInputCommandInteraction, ContextMenuCommandInteraction, Guild, GuildMember, GuildTextBasedChannel, InteractionReplyOptions, Message, MessagePayload, Snowflake, TextBasedChannel, User } from "discord.js";
import type AkairoClient from "../struct/AkairoClient.js";

@@ -84,4 +84,4 @@ import type CommandUtil from "../struct/commands/CommandUtil.js";

inGuild(): this is this & {
guild: Guild;
member: GuildMember;
get guild(): Guild;
get channel(): GuildTextBasedChannel;
};

@@ -88,0 +88,0 @@ /**

{
"name": "@notenoughupdates/discord-akairo",
"version": "9.0.10-dev.1642740434.20b44c6",
"version": "9.0.10-dev.1642804356.e93bed8",
"description": "A highly customizable bot framework for Discord.js.",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -9,2 +9,3 @@ import type { APIInteractionGuildMember, APIMessage } from "discord-api-types/v9";

GuildMember,
GuildTextBasedChannel,
InteractionReplyOptions,

@@ -148,3 +149,3 @@ Message,

*/
public inGuild(): this is this & { guild: Guild; member: GuildMember } {
public inGuild(): this is this & { get guild(): Guild; get channel(): GuildTextBasedChannel } {
return Boolean(this.guildId && this.member);

@@ -151,0 +152,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc