Infyra is a selfbot built with Selfbot Discord.js v13, offering various features like avatar fetching and ping commands. Itβs designed with a modular command and event handler system for easy expansion.
- 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.
-
Clone this repository:
git clone https://github.com/pxldevv/Infyra.git
-
Navigate to the project folder:
cd Infyra
-
Install dependencies:
npm install
-
Create a
config.json
file and add your botβs token and prefix. Example:{ "token": "YOUR_DISCORD_TOKEN", "prefix": "!" }
-
Add allowed users to the
allowed.json
file by including their user IDs. Example:[ "123456789012345678", "987654321098765432" ]
-
Run the bot:
node app.js
βββ 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
This project is licensed under the GNU General Public License v3.0.
Feel free to fork this repository and create pull requests to improve the bot. Contributions are welcome!