@pgamerx/djs-addon
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -78,38 +78,2 @@ import { | ||
export type rankCard_options = { | ||
/**Provide a member into the system (Identifies the member automatically if not provided) */ | ||
member?: User; | ||
level: number; | ||
currentXP: number; | ||
neededXP: number; | ||
rank: number; | ||
/** Slash support */ | ||
slash?: boolean; | ||
/** Background of the rank card */ | ||
background?: string; | ||
}; | ||
export type ytNotifyOptions = ( | ||
| { | ||
/** Youtube channel ID from the URL */ | ||
ytID: string; | ||
} | ||
| { | ||
/** Youtube channel URL */ | ||
ytURL: string; | ||
} | ||
) & { | ||
/** Discord channel ID to post message there */ | ||
channel: string; | ||
/** This checks if the video is posted after starting the bot. */ | ||
startAt: Date; | ||
/** Message sent when the user posts a video */ | ||
msg_to_be_sent?: string; | ||
}; | ||
export declare function rankCard( | ||
message: Message, | ||
options?: rankCard_options | ||
): Promise<void>; | ||
export declare function ytSearch( | ||
@@ -119,7 +83,3 @@ message: Message, | ||
): Promise<void>; | ||
export declare function ytNotify( | ||
client: Client, | ||
db: DB, | ||
options?: ytNotifyOptions | ||
): Promise<void>; | ||
export declare function calculator( | ||
@@ -126,0 +86,0 @@ interaction: CommandInteraction, |
{ | ||
"name": "@pgamerx/djs-addon", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "This is a npm package that allows you to easily add fun features using DiscordJS", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"main": "main.js", | ||
"typings": "index.d.ts" | ||
}, | ||
@@ -20,3 +22,6 @@ "author": "", | ||
"rss-parser": "^3.12.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.4.4" | ||
} | ||
} |
# djs-addon | ||
![npm (scoped)](https://img.shields.io/npm/v/@pgamerx/djs-addon?label=Version&logo=npm) | ||
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@pgamerx/djs-addon?color=blue&label=Size&logo=npm) | ||
This isnt available for public use 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
8
17719
1
494
4