
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
aoi.js-light
Advanced tools
Aoi.JS-Light is a lighter version of Aoi.JS, where you can disable unused caches by making your bot consume less ram.
Original package: Aoi.JS
//This is light setup! (configurable cache)
const Aoijs = require("aoi.js-light")
const bot = new Aoijs.Cache({
token: "TOKEN", //Discord Bot Token
prefix: "!", //Customizable
cache: {
Guilds: true,
Channels: false,
Overwrites: false,
Roles: false,
Emojis: false,
Presences: false
}
});
bot.onMessage() //Allows to run Commands
bot.command({
name: "ping", //Trigger name (command name)
code: `$ping Pong!` //Code
})
//This is normal setup! (with all cache)
const Aoijs = require("aoi.js-light")
const bot = new Aoijs.Bot({
token: "TOKEN", //Discord Bot Token
prefix: "!" //Customizable
})
bot.onMessage() //Allows to run Commands
bot.command({
name: "ping", //Trigger name (command name)
code: `$ping Pong!` //Code
})
What are variables?
Variables are Key-Value based data which is stored in the database, useful for Economy and Leveling system as it is allows you to save data.
bot.variables({
VariableName1: "Value", //Returns "Value"
VariableName2: "Value2" //Returns "Value2"
})
What are callbacks?
It's simple and easy process, it essentially allows you to trigger events, such as user joining a Guild. This will trigger an event, causing commands with supported type for each callbacks to be executed such as.
bot.joinCommand({
channel: "Channel ID", //Enter a Channel ID
code: `<@$authorID> just joined, welcome!` //This can be changed
})
bot.onJoined()
With easy and simple functions, you can make Slash Commands with your Bots quick!
bot.command({
name: "slash",
code: `$createSlashCommand[$guildID;version;Returns Aoi.js Version]`
})
bot.interactionCommand({
name: "version",
code: `$interactionReply[$packageVersion]`
})
bot.onInteractionCreate()
More Information in our Documentation
With our powerful Package, we incorporated Music with several functions. We allowed customization and control over what you want.
bot.command({
name: "play", //Trigger name (command name)
code: `$playSong[song;leave vc time;defean (yes or no);leave when vc empty (yes/no);error]`
//Code
})
More Information in our Documentation
Aoi.JS was made by Aoi.JS Team
Please read Contributing
Aoi.JS-Light was made by lrd#2774
FAQs
Aoi.js only lighter.
The npm package aoi.js-light receives a total of 0 weekly downloads. As such, aoi.js-light popularity was classified as not popular.
We found that aoi.js-light 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.