0.0.30 • Published 1 year ago

arbawi.dev v0.0.30

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Installation

Install with npm / yarn / pnpm

npm install arbawi.dev
yarn add arbawi.dev
pnpm add arbawi.dev

Button Pagination (SlashCommand Only)

const { ButtonPaginationInteraction } = require('arbawi.dev')
const { EmbedBuilder } = require('discord.js')

const One   = new EmbedBuilder() .setDescription('Embed #1')
const Two   = new EmbedBuilder() .setDescription('Embed #2')
const Three = new EmbedBuilder() .setDescription('Embed #3')
const Four  = new EmbedBuilder() .setDescription('Embed #4')
const Five  = new EmbedBuilder() .setDescription('Embed #5')

ButtonPaginationInteraction(Interaction, [One, Two, Three, Four, Five])

ProTax

const { ProTax } = require('arbawi.dev')

console.log(ProTax('150000'))
console.log(ProTax('15k'))
console.log(ProTax('15K'))

/* Result */

157895

Types

+ const { Types } = require('arbawi.dev')

- const { ApplicationCommandType } = require('discord.js')

---

+ Types.ApplicationCommandType.ChatInput

- ApplicationCommandType.ChatInput
  • ComponentsType
  • ChannelType
  • InteractionType
  • ButtonStyle
  • ApplicationCommandOptionType
  • ApplicationCommandType
  • ActivityType
  • ApplicationCommandPermissionType

Code Generator

const { CodeGenerator } = require('arbawi.dev')

console.log(CodeGenerator('5'))

Colors

const { Colors } = require('arbawi.dev')

# Colors.Default // The Default Color of the Embed
# Colors.DarkMode // The Color of Embed in Dark Mode
# Colors.LightMode // The Color of Embed in Light Mode
# Colors.Primary // The Color of Primary Button
# Colors.Success // Successfull Color (Green)
# Colors.Danger // Failed Color (Red)
# Colors.Warning // Warn Color (Yellow)

Join to Create

const { JoinToCreate } = require('arbawi.dev')

JoinToCreate(client, {
    ChannelId: '',
    CategoryId: ''
})

Auto Process Kill

const { ProcessKill } = require('arbawi.dev')

ProcessKill(client)

Progress Bar

const { ProgressBar } = require('arbawi.dev')

console.log(ProgressBar({ value: 10, max: 100, size: 17 }))

Short URL

const { ShortURL } = require('arbawi.dev');

ShortURL('https://npmjs.com').then((Res) => {
    console.log(Res)
})

// https://tinyurl.com/yhkhtsh8
0.0.30

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago