All Projects → Codin-Nerds → Neutron-Bot

Codin-Nerds / Neutron-Bot

Licence: GPL-3.0 license
A discord bot which aims to be the only bot a server will need.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to Neutron-Bot

mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+480%)
Mutual labels:  discordpy
discord-ui
A discord.py extension for sending, receiving and handling ui interactions in discord
Stars: ✭ 28 (+86.67%)
Mutual labels:  discordpy
EpicBot
A simple, multipurpose Discord bot.
Stars: ✭ 130 (+766.67%)
Mutual labels:  discordpy
tuxbot-bot
TuxBot, A discord bot write in python 🤖
Stars: ✭ 16 (+6.67%)
Mutual labels:  discordpy
Harmonbot
Multi-Platform Factotum Bot
Stars: ✭ 30 (+100%)
Mutual labels:  discordpy
bot
The official source code for the bot found in the Discord Extreme List Discord server!
Stars: ✭ 17 (+13.33%)
Mutual labels:  discordpy
DiscordChatExporterPy
A simple Discord chat exporter for Python Discord bots.
Stars: ✭ 72 (+380%)
Mutual labels:  discordpy
NanoBot
[Discontinued] A music, fun, Overwatch, and moderation bot written in discord.py.
Stars: ✭ 11 (-26.67%)
Mutual labels:  discordpy
DiscordStorage
Use Discord servers to store files
Stars: ✭ 64 (+326.67%)
Mutual labels:  discordpy
JukeBot
Discord music bot written in Python 3
Stars: ✭ 23 (+53.33%)
Mutual labels:  discordpy
Discord-multipurpose-bot
A repository with JavaScript and Python versions of the same type of discord commands.
Stars: ✭ 27 (+80%)
Mutual labels:  discordpy
discord2sheet-bot
Discord bot that stores messages to Google Sheet.
Stars: ✭ 40 (+166.67%)
Mutual labels:  discordpy
Spacebot
An open-source, multipurpose, configurable discord bot that does it all (that's the plan, at least)
Stars: ✭ 41 (+173.33%)
Mutual labels:  discordpy
Ren
As a mascot for the SFU Anime Club, Ren is our in-house Discord bot. Includes first/third party modules that are in use.
Stars: ✭ 16 (+6.67%)
Mutual labels:  discordpy
nextcord
A Python wrapper for the Discord API forked from discord.py
Stars: ✭ 956 (+6273.33%)
Mutual labels:  discordpy
yourAI
GPT-2 Discord Bot and Steps to Train Something Like You
Stars: ✭ 71 (+373.33%)
Mutual labels:  discordpy
dispander
Discord Message URL Expander
Stars: ✭ 32 (+113.33%)
Mutual labels:  discordpy
Fortnite-LobbyBot
No description or website provided.
Stars: ✭ 38 (+153.33%)
Mutual labels:  discordpy
DingoLingo
A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
Stars: ✭ 183 (+1120%)
Mutual labels:  discordpy
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes 🥱🚀
Stars: ✭ 132 (+780%)
Mutual labels:  discordpy

Neutron Bot

mit Python package made-with-python Discord

About the bot

Neutron is still in the early development stage so there aren't many features available yet but we're aiming to change that soon.

Installation

If you want to run this bot on your own, you can simply follow this guide:

Creating the bot on Discord

  1. Create bot on Discord's bot portal
  2. Make a New Application
  3. Go to Bot settings and click on Add Bot
  4. Make sure to give the bot indents it needs, this bot requires server member intent
  5. Give Administrator permission to bot
  6. You will find your bot TOKEN there, it is important that you save it
  7. Go to OAuth2 and click bot, than add Administrator permissions
  8. You can follow the link that will appear to add the bot to your discord server

Docker

You can run your application contained within a docker container, which is quite easy and very fast, this means you won't have to set up all the needed services for the bot, such as the postgresql database and the bot will run for you automatically. All you need to do is install docker. Run it as a service and use docker-compose up within the clonned project. You will need to have BOT_TOKEN environment variable set, with your bot token so that the bot can connect to your discord application.

Bare-bones installation

You can also run the bot without using docker at all, even though using docker is more convenient and easier, sometimes you might want to run directly, because you might not have enough resources to spin up whole containers or you simply don't want to install docker. Even though we recommend docker installation over bare-bones one, it is important to mention it too.

Setting up postgresql database

In order to prevent cluttering the README too much, here's a link to official documentation regarding installation: Official PostgreSQL installation tutorial Note that the installation steps will differ depending on your operating system. Make sure to only follow the installation steps specific to your operating system.

After you made a database and a user with some password for it. You can tell the bot about it using environmental variabls:

  • DATABASE_NAME="bot" This is the name of your database
  • DATABASE_USER="bot" This is the username (ideally this shouldn't be postgres directly, but it can be)
  • DATABASE_PASSWORD="bot" This is the password associated with that user account
  • DATABASE_HOST="127.0.0.1" This defaults to 127.0.0.1 (localhost), but if you are running the database remotely, you'll want to adjust this

Starting the bot

  1. Clone the repository (or fork it if you want to make changes)
  2. Install poetry pip install poetry
  3. Build the virtual enviroment from poetry.lock poetry install
  4. Create .env file for your environmental variables with:
    • BOT_TOKEN=[Your bot token], this is tells the bot how to connect to your discord application
    • COMMAND_PREFIX=[Your prefix], this is optional and will default to >>, if you want different prefix, change this
    • Rest of the postgresql config, as shown in the postgresql section
  5. Configure the settings (More about this in Settings section)
  6. Run the bot poetry run task start
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].