This is a Discord bot built using Node.js and the Discord.js library. The bot has various functionalities, including moderation commands, fun commands, music playing, economy, and more.
This repository is no longer actively maintained, and full ownership goes to @realrxin.
- Clone this repository to your local machine.
- Make sure you have Node.js installed on your computer.
- Install the required packages by running the following command in the project directory:
npm install
- Create a
config.jsonfile in the project directory and provide the necessary configuration. Here's an example of theconfig.jsonstructure:
{
"token": "",
"prefix": ".",
"bot_name": "",
"main_color": "",
"bot_owners": [""],
"anti_bad_word_toggle": false,
"anti_bad_words": [""],
"counter": false,
"counter_channel": "",
"counter_number_reach": 999999999999999,
"blacklisted": ["ID 1","ID 2","ID 3"],
"whitelisted": ["ID"],
"ignore_channel_toggle": false,
"ignore_channel_id": [""],
"anti_link_toggle": false,
"mute_role": "MUTE ROLE HERE",
"command_cooldown_toggle": false,
"command_cooldown_time": "",
"xp_system_toggle": false,
"xp_system_rate": 10,
"xp_system_levelrate": 300,
"suggest_system_toggle": false,
"suggest_system_channel": "",
"report_system_toggle": true,
"report_system_channel": "",
"mod_logs_toggle": false,
"mod_logs_channel": "",
"mod_logs_color": "",
"anti_selfbot_toggle": false,
"anti_self_bot_message": "No self bots allowed!",
"status_type": "WATCHING",
"bot_status": [""],
"status_change_interval": "2",
"welcome_message_enabled": false,
"welcome_message_server": "",
"welcome_message_channel": ""
}- Run the bot executing the following command in the project directory:
node index.js
The bot should be online and ready to use.
- Moderation commands
- Fun commands
- Music playing
- Economy system
- Anti-bad word filter
- Counter feature
- Blacklist and whitelist
- Channel ignore toggle
- Anti-link protection
- Command cooldown toggle
- XP system for users
- Suggestion and report systems
- Mod logs
- Anti-selfbot protection
- Customizable bot status
- Welcome message
- Bot evaluation command
- User-related commands
Below are the commands available in this Discord bot:
ban: Bans a memberkick: Kicks a membermute: Mutes a memberunmute: Unmutes a membernuke: Clones channel to clear messageshackban: Bans a user by their IDunban: Unbans a banned userclean: Cleans all recent bot messagespurge: Purges messages in a channelwarn: Warns a userdelwarn: Deletes a warning for a userwarnings: Get warnings on a userclearnwarnings: Clear all warnings for a usersoftban: Softbans a user (bans and then unbans)
8ball: Get a random response from the magic 8-ballhack: Fake hack someonesay: Repeat the inputted user messagegay: Shows user gayratetoken: Shows user's fake tokencalce: A working calculatorcovid: Shows COVID-19 statisticsmeme: Shows a random memedog: Shows a random dog picturecat: Shows a random cat pictureascii: Converts user text to ASCII formatdidyouknow: Working "Did you know?" commandroast: Roasts a user
invites: Shows all server invitesannounce: Create an announcement using the botslowmode: Set the slowmode for the channellock: Lock a channelunlock: Unlock a channelmodlogs: Get all moderator logs done on a userdm: DMs mentioned user (Good for dropping staff)
play: Plays music givenjoin: Joins a voice channelleave: Leaves a voice channelstop: Stops musicpause: Pauses musicloop: Loops a song or playlistnp: Shows info on the current song
stats: Gives stats on the botmembercount: Shows server member countuptime: Shows bot's uptimeconfig: Shows all config settings
snipe: Snipes the most recent deleted messageembed: Writes inputted message in Embedping: Shows bot's pingwhois: Shows user informationav: Shows user's avatarsuggest: Create a suggestionreport: Report a userid: Shows the ID of a member/role/channelafk: Set yourself as AFK
level: See user's current leveladdxp: Add XP to a userclearwarns: Clears all warnings for a user
antibot: Enable/Disable Antibotlockall: Lock all channelsunlockall: Unlock all channels
boteval: Evaluate JavaScript code (restricted to authorized users)
level: See user's current level and XPmodlogs: Get the number of moderator logs for a userwarnings: Get the number of warnings for a userdelwarn: Delete one warning for a user
report: Report a user (if the report system is enabled)suggest: Create a suggestion (if the suggestion system is enabled)
uptime: Shows the bot's uptimeconfig: Shows all current configuration settings
Note: Some commands might require certain permissions or be restricted to specific roles or users. Ensure the bot has the necessary permissions and that you are authorized to use certain commands.
- The bot's configuration settings can be customized by editing the config.json file.
- The xp_system_toggle, report_system_toggle, and suggest_system_toggle in the configuration can enable or disable the XP system, report system, and suggestion system, respectively.
- The owners field in the config.json file should contain the Discord IDs of users authorized to execute restricted commands like addxp and boteval.
- Feel free to explore and modify the code to suit your needs. Enjoy using the Discord bot!