# grapest

> Grape is a powerful Discord self-bot crafted with Discord.js v13, designed to streamline interactions within Discord guilds. With Grape, effortlessly retrieve guild information, manage roles, and efficiently locate users' voice channels. This versatile se

Latest version **0.0.6** (published 2024-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install grapest
pnpm add grapest
yarn add grapest
bun add grapest
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2024-05-13 |
| First published | 2024-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | qnnn |
| Keywords | discord, self-bot, discord.js, bot, find, search, user, member, guild, role, retrieve, get, voice, channel, user-voice, find-user-voice, get-user-voice, voice-channel, user-voice-channel, find-user-voice-channel, get-user-voice-channel, user-voice-channel-find, user-voice-channel-get |

## Links

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

## Dependencies (2)

- [discord.js](https://npm.io/package/discord.js.md) ^14.15.2
- [discord.js-selfbot-v13](https://npm.io/package/discord.js-selfbot-v13.md) ^3.1.4

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2024-05-13
- 0.0.5 — 2024-05-13

## README

# Grape Discord Self-Bot

Grape is a Discord self-bot built using Discord.js v13. It provides various functionalities for interacting with Discord guilds, roles, users, and voice channels.

## Features

- Retrieve roles by name or ID within a guild.
- Retrieve guilds by name or ID.
- Get members of a role within a guild.
- Extract user information by ID or username.
- Find the voice channel a user is currently in.

## Installation

1. Clone this repository or download the source code.
2. Install dependencies using npm:

   ```
   npm install discord.js-selfbot-v13
   ```

3. Configure your bot by adding your Discord token in the `config.json` file.

## Usage

1. Import the `Bot` class from `grape.js` into your project.
2. Create a new instance of the `Bot` class.
3. Call the appropriate methods to utilize the features provided by Grape.

Example:

```javascript
const { Bot } = require('grapest')

const grapeBot = new Bot();
const Grape = new grapeBot.Grape();
const extract = new grapeBot.extract();
const roles = new client.roles();

// Login with your Discord token
grapeBot.login('YOUR_DISCORD_TOKEN');

// Get a role by name within a guild
const guild = await roles.getGuild("GuildName, GuildId");
// role while be search by name or id Ex (admin) or adm or id 10343...
const role = await roles.getRole(guild, role);
console.log(role);

// Get member of anyGuild
const extract = new grapeBot.extract();
// Only Accept User(1100918300017442937,._7up ,@._7up)
const user = await (extract.UserByID("id") || extract.UserByName("username"));
const voiceChannel = await Grape.Find(user);
console.log(voiceChannel);
```

## Note

Using self-bots violates Discord's Terms of Service. Self-bots can result in your account being banned. Use at your own risk.

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