1.7.3 โข Published 4 months ago
custom-discord-bot v1.7.3
Custom Discord Bot ๐ค
A highly customizable, lightweight, and powerful Discord bot built with Oceanic.js. Configure commands, bot status, activity, avatar, and username dynamicallyโwithout touching any config files! ๐
๐ฆ Installation
npm install custom-discord-bot
๐ Features
โ
Fully Customizable Commands โ Define responses dynamically.
โ
Set Custom Status & Presence โ Show what your bot is doing.
โ
Update Avatar & Username โ Modify appearance instantly.
โ
Ultra Lightweight & Fast โ Built with Oceanic.js for optimal performance.
โ
Plug & Play โ No config files, just pass options dynamically!
๐ฅ Quick Start
const { startBot } = require("custom-discord-bot");
startBot({
token: "YOUR_DISCORD_BOT_TOKEN",
prefix: "!",
status: "online", // "online", "dnd", "idle"
statusMessage: "Listening to commands! ๐ง",
statusType: 2, // 0: Playing, 1: Streaming, 2: Listening, 3: Watching
avatarUrl: "https://example.com/avatar.png",
username: "CustomBot",
commands: {
"ping": "Pong! ๐",
"hello": "Hello there! ๐",
"bot": "I'm a simple bot powered by Oceanic.js! ๐ค"
}
});
๐ Configuration Options
Option | Type | Default | Description |
---|---|---|---|
token | string | Required | Your Discord bot token. |
prefix | string | "!" | Command prefix. |
status | string | "online" | Bot status (online , dnd , idle ). |
statusMessage | string | "" | Custom status message (e.g., "Listening to commands!" ). |
statusType | number | 0 | Activity type (0 : Playing, 1 : Streaming, 2 : Listening, 3 : Watching). |
avatarUrl | string | "" | Bot avatar URL. |
username | string | "" | Bot username. |
commands | object | {} | Custom commands { "command": "response" } . |
๐ ๏ธ Contributing
Pull requests are welcome! Fork the repo, create a branch, and submit a PR. ๐
๐ License
This project is licensed under the MIT License.
๐ Support & Contact
- GitHub Issues: Report Bugs or Request Features
- Give a Star: โญ If you love this package, show some support!
๐ Now go build something awesome! ๐ฎโจ