0.0.6 • Published 7 months ago
grapest v0.0.6
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
- Clone this repository or download the source code.
Install dependencies using npm:
npm install discord.js-selfbot-v13
Configure your bot by adding your Discord token in the
config.json
file.
Usage
- Import the
Bot
class fromgrape.js
into your project. - Create a new instance of the
Bot
class. - Call the appropriate methods to utilize the features provided by Grape.
Example:
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.