# arbawi.dev

> Discord Package for Build your Discord Bot for Easy

Latest version **0.0.30** (published 2023-02-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install arbawi.dev
pnpm add arbawi.dev
yarn add arbawi.dev
bun add arbawi.dev
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.30 |
| Published | 2023-02-01 |
| First published | 2023-01-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 32.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tobzi |
| Keywords | discord, probot, button pagination, colors, short url |

## Links

- npm: https://www.npmjs.com/package/arbawi.dev
- npm.io page: https://npm.io/package/arbawi.dev

## Dependencies (4)

- [os](https://npm.io/package/os.md) ^0.1.2
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [st.db](https://npm.io/package/st.db.md) ^6.0.1
- [discord.js](https://npm.io/package/discord.js.md) ^14.7.1

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.30 (latest) — 2023-02-01
- 0.0.29 — 2023-02-01
- 0.0.28 — 2023-02-01
- 0.0.27 — 2023-01-29
- 0.0.26 — 2023-01-29
- 0.0.25 — 2023-01-29
- 0.0.24 — 2023-01-29
- 0.0.23 — 2023-01-29
- 0.0.22 — 2023-01-29
- 0.0.21 — 2023-01-28
- 0.0.20 — 2023-01-28
- 0.0.19 — 2023-01-23
- 0.0.18 — 2023-01-23
- 0.0.17 — 2023-01-21
- 0.0.14 — 2023-01-21
- … 12 more at https://npm.io/package/arbawi.dev/versions

## README

<p align="center"><a href="https://nodei.co/npm/arbawi.dev/"><img src="https://nodei.co/npm/arbawi.dev.png"></a></p>

# Installation

Install with [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com/) / [pnpm](https://pnpm.js.org/)

```diff
npm install arbawi.dev
yarn add arbawi.dev
pnpm add arbawi.dev
```
<br>

# Button Pagination (SlashCommand Only)

```js
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])
```

<img src="https://imgur.com/PcKpYGi.png">

<br>

# ProTax
```js
const { ProTax } = require('arbawi.dev')

console.log(ProTax('150000'))
console.log(ProTax('15k'))
console.log(ProTax('15K'))

/* Result */

157895
```

<br>

# Types
```diff
+ const { Types } = require('arbawi.dev')

- const { ApplicationCommandType } = require('discord.js')

---

+ Types.ApplicationCommandType.ChatInput

- ApplicationCommandType.ChatInput
```

- `ComponentsType`
- `ChannelType`
- `InteractionType`
- `ButtonStyle`
- `ApplicationCommandOptionType`
- `ApplicationCommandType`
- `ActivityType`
- `ApplicationCommandPermissionType`

<br>

# Code Generator

```js
const { CodeGenerator } = require('arbawi.dev')

console.log(CodeGenerator('5'))
```

<br>

# Colors

```js
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)
```

<br>

# Join to Create

```js
const { JoinToCreate } = require('arbawi.dev')

JoinToCreate(client, {
    ChannelId: '',
    CategoryId: ''
})
```

<br>

#  Auto Process Kill

```js
const { ProcessKill } = require('arbawi.dev')

ProcessKill(client)
```

<br>


# Progress Bar

```js
const { ProgressBar } = require('arbawi.dev')

console.log(ProgressBar({ value: 10, max: 100, size: 17 }))
```

<br>

# Short URL

```js
const { ShortURL } = require('arbawi.dev');

ShortURL('https://npmjs.com').then((Res) => {
    console.log(Res)
})

// https://tinyurl.com/yhkhtsh8
```

---
_Source: https://npm.io/package/arbawi.dev · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
