Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
jericho-framework
Advanced tools
Jericho Framework for Discord Bots to make bot real easy in Java-Script and discord.js v13
Jericho-Framework is a Framework Build for Jericho Discord Bot Requirements and Other begineer Developers Jericho Discord Bot and is stable working with discord.js v13 discord.js v13.
Node.js 15 or newer is required.
npm install jericho-framework
npm install discord.js@latest
Register a Thread Handler for Discord API:
import { ThreadHandler } from 'jericho-framework';
const ChannelInstance = new ThreadHandler(Client, {
guild : <GuildResolve>,
channel: <ChannelResolve>,
metdata: <Saved-Data> || null,
});
const ThreadInstance = ChannelInstance.CreateThread({
metdata: <Saved-Data> || null,
Name : <Thread-Name> || <Thread-Title>,
AutoArchiveDuration : <Time-in-Seconds>,
Type: <'private-thread'> || <'public-thread'>,
Reason: <Reason-to-Create> || null,
Channel: <if to Change Channel { ChannelResolve }>,
})
Get and Destroy Handler:
const ThreadInstances = ChannelInstance.GetThreadInstances(ThreadInstance.ThreadCode,<Amount of Instances>);
const DestroyThread = ChannelInstance.DestroyThread(ThreadInstance.ThreadCode,{
Reason: <Reason-to-Create> || null,
Delay: <Time-in-Seconds>,
});
Structure of Thread-Instance and Channel-Instance :
{
guild,
channel,
ThreadCode,
Client,
metadata,
thread,
}
{
Client,
ChannelCode
guild,
channel,
Client,
metadata,
}
Register a Slash Command Handler for Discord API:
import { SlashCommandHandler } from 'jericho-framework';
const SlashInstance = new SlashCommandHandler(Client, {
guild : <GuildResolve>, || <message> | <channel> | <guild> | <guildId>
});
SlashInstance.set(<Array of Slash Commands>);
SlashInstance.deploy();
SlashInstance.destroy(<CommandId || null>);
SlashInstance.get(<CommandId || null>);
Structure of Slash Commands :
{
guild,
SlashCommands,
ApplicationCommands,
global,
Client,
}
Jericho-Framework Utilities : It can Support any Resolve including IDs too
const Channel = ChannelResolver(<Channel-Resolve>,{
ifmessage: true,
type:text
});
const Guild = GuildResolver(<Guild-Resolve>,{
ifmessage: true,
});
Register a Void Handler for Discord API:
import { VoiceHandler } from 'jericho-framework'
const Voice_Handler = new VoiceHandler(Client, {
LeaveOnEmpty: true,
})
Voice_Handler.disconnect()
Voice_Handler.destroy()
Voice_Handler.get()
Structure of Void Connection is Same as Connection in "@discordjs/voice"
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the ReadMe.md
If you don't understand something in the ReadMe.md , you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Support Server.
FAQs
Jericho Framework for Discord Bots to make bot real easy in Java-Script and discord.js v13
The npm package jericho-framework receives a total of 5 weekly downloads. As such, jericho-framework popularity was classified as not popular.
We found that jericho-framework demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.