https://github.com/pxldevv/infyra
Discord Selfbot
https://github.com/pxldevv/infyra
discord nodejs selfbot
Last synced: about 1 month ago
JSON representation
Discord Selfbot
- Host: GitHub
- URL: https://github.com/pxldevv/infyra
- Owner: pxldevv
- License: gpl-3.0
- Created: 2025-01-22T04:11:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-22T09:32:28.000Z (over 1 year ago)
- Last Synced: 2025-07-07T20:11:48.933Z (11 months ago)
- Topics: discord, nodejs, selfbot
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Infyra β¨π
Infyra is a selfbot built with [Selfbot Discord.js v13](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/), offering various features like avatar fetching and ping commands. Itβs designed with a modular command and event handler system for easy expansion.
## Features
- **Command Handling**: Easily add and manage new commands in the `commands/` directory.
- **Alias Support**: Commands can have multiple aliases for flexibility.
- **User Avatar Fetching**: The `avatar` command can retrieve the avatar of a user, either by providing their ID or using the message author's own avatar.
- **Ping Command**: The `ping` command returns a "Pong!" reply, useful for checking if the bot is operational.
- **Configurable Prefix**: Customize the command prefix in `config.json`.
- **Allowed Users**: Only specific users (listed in `allowed.json`) are allowed to use the bot commands.
## Installation
1. Clone this repository:
```bash
git clone https://github.com/pxldevv/Infyra.git
```
2. Navigate to the project folder:
```bash
cd Infyra
```
3. Install dependencies:
```bash
npm install
```
4. Create a `config.json` file and add your botβs token and prefix. Example:
```json
{
"token": "YOUR_DISCORD_TOKEN",
"prefix": "!"
}
```
5. Add allowed users to the `allowed.json` file by including their user IDs. Example:
```json
[
"123456789012345678",
"987654321098765432"
]
```
6. Run the bot:
```bash
node app.js
```
## Project Structure
```
βββ app.js # Main bot file where the client is set up
βββ commands # Folder containing the command files
β βββ avatar.js # Avatar fetching command
β βββ ping.js # Ping command
βββ events # Folder containing the event files
β βββ messageCreate.js # Event handler for message creation
β βββ ready.js # Event handler for bot ready event
βββ allowed.json # List of allowed user IDs for command access
βββ config.json # Bot configuration (token, prefix)
βββ package.json # Project metadata and dependencies
```
## License
This project is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html).
## Contributing
Feel free to fork this repository and create pull requests to improve the bot. Contributions are welcome!