Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ultrax

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ultrax - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

functions/button-embed-reactor.js

7

index.js

@@ -5,5 +5,7 @@ const sleep = require('./functions/sleep'),

inviteLogger = require("./functions/invite-logger"),
_checkUpdate = require("./functions/checkUpdates")
_checkUpdate = require("./functions/checkUpdates"),
ButtonPaginatoir = require("./functions/button-embed-reactor")
_checkUpdate()

@@ -14,3 +16,4 @@ module.exports = {

bin,
inviteLogger
inviteLogger,
ButtonPaginatoir
};
{
"name": "ultrax",
"version": "1.1.3",
"version": "1.1.4",
"description": "This package is used to make stuff easier by using simple functions, its not fully released yet!",

@@ -12,4 +12,5 @@ "main": "index.js",

"dependencies": {
"discord.js": "^12.5.3",
"node-fetch": "^2.6.1"
}
}
# ℹ️ About
ultrax is a simple package make by [UltraX](https://youtube.com/UltraX1), it's simply made to make your coding process faster by some functions, it's not fully released yet, only 2 function is available right now!
ultrax is a simple package make by [UltraX](https://youtube.com/UltraX1), it's simply made to make your coding process faster by some functions

@@ -27,3 +27,2 @@ <div align="center">

## ➡️ Functions
Right now the package is beta, that mean it is not fully released yet.

@@ -38,2 +37,8 @@ The available functions are:

## ➡️ More usages
There is currently only an event called [`inviteJoin`](https://www.npmjs.com/package/ultrax#invite-logger-event) in the package which allows you to get some informations about the invite such as the inviter and how many times it got used.
----
## sleep

@@ -81,6 +86,13 @@ sleep is a simple function, where is make it easier and faster to make a timeout in your code.

```js
// Defining the package
const ultrax = require('ultrax')
// if it's empty it returns a message saying "what do you want to bin?"
if (!args.join(' ')) return message.channel.send('What do you want to bin?');
else {
// else if everything works fine, we will make a new varible called "bin"
// it will be used to bin the args.join(' ') also known as the message.content
const bin = await ultrax.bin(args.join(' '));
// then here we will send the results!
message.channel.send('Here i binned the code ' + bin)

@@ -92,6 +104,15 @@ }

```js
// Defining the package
const ultrax = require("ultrax")
//defining discord
const discord = require('discord.js')
// new discord client
const client = new discord.Client()
// To Get The new event working we need to initilize it by:
ultrax.inviteLogger(client)
ultrax.inviteLogger(client) // put here your discord client
// without above code event won't trigger.
// now below event will work

@@ -102,2 +123,2 @@ client.on('inviteJoin', (member, invite, inviter) => {

```
-----
-----
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