33 Top Open-source and Free Discord Bots, and a Library for Creating Discord Bots

33 Top Open-source and Free Discord Bots, and a Library for Creating Discord Bots
Photo by Alexander Shatov / Unsplash

What is Discord?

Discord is a popular communication platform designed for creating communities. It allows users to communicate via text, voice, and video in dedicated servers. It is widely used by gamers, developers, and various communities for collaboration and social interaction.

Discord is widely embraced by numerous communities and individuals for seamless communication and collaboration. It enjoys immense popularity, especially among gamers, developers, content creators, and online communities.

As of December 2021, Discord proudly boasts a staggering user base of over 150 million monthly active users worldwide. These users actively participate in engaging text, voice, and video conversations within dedicated servers. Discord's exponential growth continues unabated, thanks to its versatile platform that enables the creation and joining of communities based on shared interests.

While specific usage statistics may not be publicly available, Discord's user base is exceptionally diverse, encompassing gamers, hobbyists, professionals, students, and countless other individuals seeking connections with like-minded people. Discord serves a myriad of purposes, including fostering gaming communities, facilitating programming and development discussions, nurturing art and creative communities, facilitating music sharing, supporting educational groups, and much more.

Developer support

The Discord developer community is vast and supportive. Developers can find resources, tutorials, and documentation on official Discord developer portals and community forums. Additionally, many open-source Discord bot projects have active communities where developers can seek guidance, share ideas, and collaborate on bot development.

What is a Discord bot?

A Discord bot is an automated program that runs on Discord's platform. It can perform various tasks and provide functionalities within a Discord server. Bots can be programmed to perform moderation tasks, play music, provide information, and interact with users through commands or chat interactions.

Benefits of Discord bots:

  • Automation: Bots can automate repetitive tasks, saving time and effort for server administrators and users.
  • Enhanced Community Experience: Bots can provide entertainment, utility, and moderation features, enriching the overall user experience in Discord communities.
  • Customization: Bots can be customized to fit specific needs, allowing server owners to tailor their community's experience.
  • Integration: Bots can integrate with external services and APIs, bringing additional functionality to Discord servers.
  • Scalability: Bots can handle a large number of users and perform tasks efficiently, ensuring smooth server operations.

Use-cases for Discord bots:

  • Moderation: Bots can help enforce rules, filter content, and manage user behavior within a server.
  • Entertainment: Bots can play music, provide mini-games, and offer interactive experiences to engage and entertain server members.
  • Information and Utility: Bots can provide weather updates, news, reminders, and other useful information to server members.
  • Productivity: Bots can facilitate task management, scheduling, and collaboration among server members.
  • Ticketing and Support: Bots can assist in managing user inquiries, creating support tickets, and providing automated responses.
  • Code and Development: Bots can integrate with code repositories, provide syntax highlighting, and assist with code review processes.

Productivity with Discord bots

Discord bots can enhance productivity by automating tasks, streamlining workflows, and providing quick access to information.

They can help manage project updates, organize team collaboration, and integrate with external productivity tools.

Ticketing and Support with Discord bots

Discord bots can assist in creating support ticket systems within Discord servers. They can automate ticket creation, assign tickets to support staff, and facilitate communication between users and support teams, ensuring efficient and organized customer support.

Code and Development with Discord bots

Developing Discord bots often involves programming in languages such as JavaScript or Python.

Libraries and frameworks like discord.js and discord.py provide the necessary tools and resources for building and interacting with Discord's API. Developers can leverage these libraries' documentation and examples to create custom bot functionalities and integrate them into their projects.


In this post, you will find a compilation of the top Discord bot building tools and libraries, along with the most popular open-source Discord bots that you can download, install, customize, and use for free.

1- Discord.js

Discord.js is an incredible open-source JavaScript library that empowers developers to effortlessly create a rich and highly interactive bot experience. It has served as the solid foundation for numerous remarkable bots featured in this list.

GitHub - discordjs/discord.js: A powerful JavaScript library for interacting with the Discord API
A powerful JavaScript library for interacting with the Discord API - GitHub - discordjs/discord.js: A powerful JavaScript library for interacting with the Discord API

2- Commando

Commando is the definitive command framework for discord.js. It is highly adaptable, completely object-oriented, effortless to utilize, and simplifies the process of creating your own robust commands. Moreover, it fully embraces the potential of ES2017's async/await functionality, resulting in code that is both succinct and easily understandable.

Features

  • Plain command names and aliases
  • Regular expression triggers
  • Robust parsing of arguments (with "quoted strings" support)
  • Sophisticated argument system (optional)
    • Automatic prompting for arguments that aren't provided
    • Type system with rules, automatic validation, and parsing to usable values
      • Basic types (string, integer, float, boolean)
      • Discord objects (user, member, role, channel, message)
      • User-defined custom types
      • Union types
    • Automatic re-prompting of invalid arguments
    • Optional arguments with default values
    • Infinite arguments (arguments that accept as many values as provided)
  • Multiple responses to commands
  • Command editing (user edits their message that triggered the command, and the bot's response updates with it)
  • Command reloading, as well as loading/unloading
  • Command throttling/cooldowns
GitHub - discordjs/Commando: Official command framework for discord.js
Official command framework for discord.js. Contribute to discordjs/Commando development by creating an account on GitHub.

3- Discord.py

discord.py is an impressive open-source Python library that offers a robust and user-friendly interface for seamlessly interacting with the Discord API.

It empowers developers to effortlessly create bots, efficiently handle events, and effortlessly perform a wide range of operations within the Discord platform using the Python programming language.

GitHub - Rapptz/discord.py: An API wrapper for Discord written in Python.
An API wrapper for Discord written in Python. Contribute to Rapptz/discord.py development by creating an account on GitHub.

4- MusicBot for Discord

This is a free and open-source cross-platform Discord music bot with a clean interface that is easy to set up and run yourself! It supports YouTube, SoundCloud, Bandcamp, Vimeo, Twitch, Local Files, and URL-based media fiels.

Its features include:

  • Easy to run (just make sure Java is installed and run!)
  • Fast loading of songs
  • No external keys needed (except a Discord Bot token)
  • Smooth playback
  • Server-specific setup for the "DJ" role, which can moderate the music
  • Clean and beautiful menus
  • Supports many sites, including YouTube, Soundcloud, and more
  • Supports many online radio/streams
  • Supports local files
  • Playlist support for both web/YouTube and local files
GitHub - jagrosh/MusicBot: 🎶 A Discord music bot that’s easy to set up and run yourself!
🎶 A Discord music bot that’s easy to set up and run yourself! - GitHub - jagrosh/MusicBot: 🎶 A Discord music bot that’s easy to set up and run yourself!

5- Discord MusicBot

This is yet another advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!

GitHub - SudhanPlayz/Discord-MusicBot: An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support! - GitHub - SudhanPlayz/Discord-MusicBot: An advanc…

6- Discord Mass DM

DMDGO is an exceptional multi-threaded Discord self-bot specifically designed for efficiently messaging a large number of users on Discord. It offers a wide range of high-quality features that greatly enhance the user experience and empower the user to effectively target the maximum number of users.

GitHub - V4NSH4J/discord-mass-DM-GO: The most powerful Discord selfbot written in GO allowing users to automate their campaigns & send low-cost mass messages to Discord users!
The most powerful Discord selfbot written in GO allowing users to automate their campaigns & send low-cost mass messages to Discord users! - GitHub - V4NSH4J/discord-mass-DM-GO: The most powerf…

7-EvoBot (Discord Music Bot)

EvoBot is a Discord Music Bot built with TypeScript, discord.js & uses Command Handler from discordjs.guide

GitHub - eritislami/evobot: 🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages
🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages - GitHub - eritislami/evobot: 🤖 EvoBot is a Discord Music Bot built wi…

8- Discord4J (Java)

Discord4J is an incredibly efficient and robust library that empowers developers to rapidly and effortlessly create Discord bots for Java, Kotlin, and other JVM languages, leveraging the official Discord Bot API.

GitHub - Discord4J/Discord4J: Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API. - G…

9- Modmail

Modmail
Modmail

Modmail is a Discord bot that functions as a shared inbox for staff and members, similar to Reddit's Modmail. It allows server staff to communicate with users in a seamless way and is available for free to everyone.

GitHub - modmail-dev/Modmail: A Discord bot that functions as a shared inbox between staff and members, similar to Reddit’s Modmail.
A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail. - GitHub - modmail-dev/Modmail: A Discord bot that functions as a shared inbox between sta…

10- Rawon (Music Bot)

Rawon is a powerful and reliable Discord music bot called Rawon, carefully crafted for seamless usage without any coding knowledge.

It provides an extensive range of features, including interactive support, customizable settings, essential music and moderation commands, and a hassle-free setup for professional use.

GitHub - stegripe/rawon: A simple powerful Discord music bot built to fulfill your production desires. Easy to use, with no coding required.
A simple powerful Discord music bot built to fulfill your production desires. Easy to use, with no coding required. - GitHub - stegripe/rawon: A simple powerful Discord music bot built to fulfill y…

11- D++

D++ is a powerful and efficient library for Discord written in modern C++, encompassing a vast portion of the API specification while maintaining an impressively small memory footprint, even when caching substantial amounts of data.

Features

  • Support for Discord API v10
  • Really small memory footprint
  • Efficient caching system for guilds, channels, guild members, roles, users
  • Sharding and clustering (Many shards, one process: specify the number of shards, or let the library decide)
  • Highly optimised ETF (Erlang Term Format) support for very fast websocket throughput
  • Slash Commands/Interactions support
  • Voice support (sending and receiving audio)
  • The entire Discord API is available for use in the library
  • Stable Windows support
  • Ready-made compiled packages for Windows, Raspberry Pi (ARM64/ARM7/ARMv6), Debian x86/x64, and RPM based distributions
  • Highly scalable for large amounts of guilds and users
GitHub - brainboxdotcc/DPP: C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots! - GitHub - brainboxdotcc/DPP: C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge…

12- Requestrr

Requestrr is a chatbot that simplifies the use of services like Sonarr, Radarr, Overseerr, and Ombi through chat. It offers features such as content requests via Discord, Siri integration, notifications for completed requests, integration with Sonarr/Radarr V2/V3 and Overseerr, integration with Ombi V3, and full configurability through a web portal.

GitHub - darkalfx/requestrr: Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation for new features as well as new platforms.
Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation f…

13- Discord Tickets (Support System)

Discord Tickets is a leading open-source and self-hosted ticket management bot for Discord, providing a powerful and free alternative to expensive premium and white-label plans offered by other ticketing bots.

GitHub - discord-tickets/bot: The most popular open-source and self-hosted ticket management bot for Discord - a free alternative to the premium and white-label plans of other popular ticketing bots.
The most popular open-source and self-hosted ticket management bot for Discord - a free alternative to the premium and white-label plans of other popular ticketing bots. - GitHub - discord-tickets/…

14- Loritta

Loritta is an open-source bot for Discord that is multipurpose, multilanguage, customizable, modular, and designed to entertain and engage members. It also offers moderation features for server safety and enjoyment, along with easy setup and powerful customization options.

GitHub - LorittaBot/Loritta: 💁 A multipurpose, multilanguage, customizable, modular, and very cute bot for Discord! ~Making your server more awesome~
💁 A multipurpose, multilanguage, customizable, modular, and very cute bot for Discord! ~Making your server more awesome~ - GitHub - LorittaBot/Loritta: 💁 A multipurpose, multilanguage, customizable…

15- BetterDiscordPanel

BetterDiscordPanel is a free Discord Messaging Panel that enables messaging within a bot.

Features

  • 📊 Discord Bot Statistics: Gain full insights and details of your discord bot with server and bot information.
  • 💬 Simple Messaging Interface: BetterDiscordPanel allows you to easily message users and chat within servers using your discord bot. The panel also has a light and dark theme to suit your needs!
  • 🔒 Security: BetterDiscordPanel does not run on any servers and can be self hosted. All bot details are stored locally and is completely secure.
  • 👀 Opensource: BetterDiscordPanel is open source on GitHub so you can see all the code behind the project.
GitHub - SanjaySunil/BetterDiscordPanel: 💬 Discord Messaging Panel that allows you to message inside of a bot!
💬 Discord Messaging Panel that allows you to message inside of a bot! - GitHub - SanjaySunil/BetterDiscordPanel: 💬 Discord Messaging Panel that allows you to message inside of a bot!

16- AnswerOverflow

Answer Overflow Discord Bot is an exceptional and remarkable free open-source bot that effortlessly enables you to efficiently index Discord help channels into Google. It offers an array of impressive features including powerful analytics, enhanced help channels, and user-friendly control settings.

GitHub - AnswerOverflow/AnswerOverflow: Indexing Discord Help Channel Questions into Google
Indexing Discord Help Channel Questions into Google - GitHub - AnswerOverflow/AnswerOverflow: Indexing Discord Help Channel Questions into Google

17- Urban Bot

Urban Bot is a universal chatbot library based on React. It offers declarative and reusable components, multiplatform support, unique sessions for each chat, and full TypeScript support.

GitHub - urban-bot/urban-bot: 🤖 The universal chatbot library based on React. Write once, launch Telegram, Discord, Facebook, ... every messenger with chatbots
🤖 The universal chatbot library based on React. Write once, launch Telegram, Discord, Facebook, ... every messenger with chatbots - GitHub - urban-bot/urban-bot: 🤖 The universal chatbot library bas…

18- Rich Discord Bot

This is an advanced Discord multipurpose bot called Discord-bot, which is an updated version of Dbot. It contains over 400 commands and offers features such as moderation, tickets, radio, games, giveaways, customization, economy, leveling, invites, messages, utilities, suggestions, and server stats.

GitHub - CorwinDev/Discord-Bot: Discord Bot with over 400 commands and made for large servers
Discord Bot with over 400 commands and made for large servers - GitHub - CorwinDev/Discord-Bot: Discord Bot with over 400 commands and made for large servers

19- SwitchbladeBot / switchblade

Switchblade is an exceptional and robust solution to all your server management challenges. It has been meticulously crafted from the ground up, with a strong focus on code organization and superior quality.

With an extensive repertoire of over 190 commands, it would be impractical to list them all here for updates.

GitHub - SwitchbladeBot/switchblade: The open source Discord bot that solves all of your problems.
The open source Discord bot that solves all of your problems. - GitHub - SwitchbladeBot/switchblade: The open source Discord bot that solves all of your problems.

20- DisTube (Music)

DisTube is an exceptional open-source Discord.js module that greatly simplifies music commands and enables effortless playback from multiple sources, complete with integrated audio filters.

GitHub - skick1234/DisTube: A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.
A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters. - GitHub - skick1234/DisTube: A powerful Discord.js module for…

21- slash-create.js

slash-create.js is a library that serves as a creator and handler for Discord's slash commands. It offers various features, including support for multiple servers using Express or Fastify, integration with an existing Discord bot client, synchronization of loaded commands to Discord, loading commands from a folder, and command throttling/cooldowns. It simplifies the process of creating and managing slash commands in Discord, providing a convenient solution for developers.

GitHub - Snazzah/slash-create: 🗡️ Creator and handler for Discord’s slash commands
🗡️ Creator and handler for Discord’s slash commands - GitHub - Snazzah/slash-create: 🗡️ Creator and handler for Discord’s slash commands

22- Ticket-Bot

This is a Discord ticket bot made with Discord.js v14. It has buttons, slash commands, select menus, modals, and a transcripts system.

GitHub - Sayrix/Ticket-Bot: Discord ticket bot with buttons, slash commands, select menus, modals, and transcripts system made with Discord.js v14
Discord ticket bot with buttons, slash commands, select menus, modals, and transcripts system made with Discord.js v14 - GitHub - Sayrix/Ticket-Bot: Discord ticket bot with buttons, slash commands,…

23- ALL-IN-ONE-Discord-Bot-

This is an impressive Discord bot written in JavaScript, boasting over 500 commands.

GitHub - Uo1428/ALL-IN-ONE-Discord-Bot-: An advance discord bot with 500+ commands
An advance discord bot with 500+ commands. Contribute to Uo1428/ALL-IN-ONE-Discord-Bot- development by creating an account on GitHub.

24- MoE

MoE is an exceptional bot for discord server. It boasts a wide array of impressive features, encompassing but not limited to commanding, emotes, music, chat moderation, and so much more.

GitHub - brblacky/MoE: MoE is a bot for discord server. It has many features, including but not limited to making commands, emotes, music, moderating chat and much more.
MoE is a bot for discord server. It has many features, including but not limited to making commands, emotes, music, moderating chat and much more. - GitHub - brblacky/MoE: MoE is a bot for discord…

25- DingoLingo

Yet another Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.

GitHub - Raptor123471/DingoLingo: A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files. - GitHub - Raptor123471/DingoLingo: A Discord music bot written in Python w…

26- KarmaBot

KarmaBot is a free and open-source Multipurpose Discord Bot with a Music System used by 200K+ users and more than 2000 servers.

It has dozens of features, and a rich command set that you can easily customize.

GitHub - DeltaCoderr/KarmaBot: 🤖 A Multipurpose Discord Bot with a Music System & Utility commands used by 200K+ users!
🤖 A Multipurpose Discord Bot with a Music System & Utility commands used by 200K+ users! - GitHub - DeltaCoderr/KarmaBot: 🤖 A Multipurpose Discord Bot with a Music System & Utility commands…

27- Discord.js Template

This project offers the source-code for a discord bot build template for Discord.js.

Its features include:

  • 🟦 Typescript
  • 🔥 Slash commands (supports auto complete!)
  • ✉️ Message commands
  • 🕛 Cooldowns
  • 🏴 Detailed Permissions
  • 💪 Event & Command handlers
  • 🍃 MongoDB Support
GitHub - MericcaN41/discordjs-v14-template-ts: A typescript template for Discord.js v14 that includes handlers, slash commands, mongodb, permissions and more.
A typescript template for Discord.js v14 that includes handlers, slash commands, mongodb, permissions and more. - GitHub - MericcaN41/discordjs-v14-template-ts: A typescript template for Discord.js…

28- azunyan

This is a free and open-source multiPurpose Discord Bot Build On discord.js libary include economy,moderation,level system, and fun command and include dashboard to customize the bot

GitHub - InsiderJanggo/azunyan: A MultiPurpose Discord Bot Build On discord.js libary include economy,moderation,level system, and fun command and include dashboard to cuztomize the bot
A MultiPurpose Discord Bot Build On discord.js libary include economy,moderation,level system, and fun command and include dashboard to cuztomize the bot - GitHub - InsiderJanggo/azunyan: A MultiPu…

29- watson

Watson is a framework for building scalable Discord application in Node.js. It uses TypeScript to provide an easy to use API to scale along with the growth and complexity of your app.

GitHub - StrawbrryFlurry/watson: 🚀 Fast, scalable framework for building Discord applications
🚀 Fast, scalable framework for building Discord applications - GitHub - StrawbrryFlurry/watson: 🚀 Fast, scalable framework for building Discord applications

30- Discord-bot (400 Commands)

Discord-bot is an updated version of Dbot, an advanced Discord multipurpose bot with over 400 commands. It offers features such as moderation, tickets, radio, games, giveaways, customization, economy, leveling, invites, messages, utilities, suggestions, and server stats.

The source code was made available online by the owners, and this version is an update of the original.

Features

  •  Slash Commands
  •  Upto date with Discord.js v14
  •  Automod
  •  Custom Commands
  •  Music Commands
  •  Tickets
  •  Utility Commands
  •  Suggestions
  •  Reaction Roles
  •  Family
  •  Giveaways
  •  Easy to use
  •  Customizable
GitHub - CorwinDev/Discord-Bot: Discord Bot with over 400 commands and made for large servers
Discord Bot with over 400 commands and made for large servers - GitHub - CorwinDev/Discord-Bot: Discord Bot with over 400 commands and made for large servers

31- CalypsoBot

This is an open-source highly customizable bot built with discord.js.

GitHub - sabattle/CalypsoBot: A fully customizable bot built with discord.js
A fully customizable bot built with discord.js. Contribute to sabattle/CalypsoBot development by creating an account on GitHub.

32- Keplar

Keplar is a personal Discord bot project designed for private server use, lacking formal permission handling and automated commands.

Key Features

Every single command is supported with slash commands as well as prefix-based. Note: Some commands will have several options to them to allow for different types of requests.

  • 🎮 Fun: Several fun commands such as 8balladvice, and coinflip
  • 📷 Images: Commands that return an embedded image include catmemepokemon, and xkcd
  • 🎶 Music: Play tunes and more: playcurrentSonglyricsshufflevolume, and 6 more!
  • 💰 Cryptocurrency: Get current crypto market statistics with crypto
  • ❔ Info: Commands include infoping, and stats for general server and bot information
  • 🔧 Utility: For general utility clear, and rng
  • 🪀 Misc: Get the definitions of words with define, and stats

This bot is still in very early development. More commands will be added in the future, with support for both slash, and prefix commands.

GitHub - humaiyun/Keplar: A multipurpose Discord bot built with discord.js v13 intended for small, private Discord servers
A multipurpose Discord bot built with discord.js v13 intended for small, private Discord servers - GitHub - humaiyun/Keplar: A multipurpose Discord bot built with discord.js v13 intended for small,…

33- Python Discord Bot Template

Python Discord Bot Template is a powerful open-source Python template that can be utilized by anyone to kickstart their own Discord bot project.

GitHub - kkrypt0nn/Python-Discord-Bot-Template: 🐍 A simple template to start to code your own and personalized Discord bot in the Python programming language
🐍 A simple template to start to code your own and personalized Discord bot in the Python programming language - GitHub - kkrypt0nn/Python-Discord-Bot-Template: 🐍 A simple template to start to code…







Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+