Skip to content

liner-exe/discord-commands-bot

Repository files navigation

Discord Commands Bot Code Factor

GitHub Release GitHub issues Python Version Nextcord Version GitHub License

Description

An another yet Discord multipurposal bot written in Python.

Table of Contents

Key Features

  • Async-await syntax
  • Slash commands partial-ready
  • Easy installation, setup
  • Use the same bot instance on multiple guilds
  • Regurarly updates

Installation

Prerequisites

API Keys

How to get discord token?
  1. Go to Discord Developer Portal.

  2. Press New Application.

    Hint setup_01.png
  3. Enter application name and press Create.

    Hint setup_02.png
  4. Go to tab Bot.

  5. Reset and Copy bot token.

    Hint setup_03.png

Obtained keys must be entered while setup the bot through setup.py.

Requirements

Install nextcord:
# Linux/macOS
python3 -m pip install -U nextcord

# Windows
pip install -U nextcord
Install dependencies:
pip install -r requirements.txt

Installing - Self Hosting

Manual Installation

  1. Complete prerequisites.
  2. Download latest release.
  3. Launch setup.py and complete setup process.
  4. Done. Now you can launch the bot.

Installation via Git

  1. Complete prerequisites.
  2. Clone repository using:
git clone https://github.com/r-liner/discord-commands-bot
  1. Launch setup.py and complete setup process.
  2. Done. Now you can launch the bot.

Launch

You can run the bot through the start_win.bat for Windows or directly through the main.py.
During run the bot you must see:

  • Bot username (format: name#discrim).
  • Count of bot servers.

Roadmap

Q2:

  • Code simplify.
  • Add i18n

Changelog

You can find it here.

Support

❓ If you have a question ask it here.

🐛 If you found a bug have a look at the issue list before you create a new issue. Please provide as much information as possible to help us understand and reproduce your issue.

✨ If you want to request new feature have a look at the issue list before you create it.

Contribution

If you would like to contribute to this project, fork repository, add your changes and then create pull request. Please ensure that you have thoroughly tested all your changes.

Even if you`re not the programmer, you can contribute to this project by reporting bugs, requesting new features, fixing typos, etc.

Contact

If you have a question regarding the project, open new issue.

If your request would contain confidentional information, please send me an email.

License

MIT


Copyright © 2022-2024 liner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

(Back to top)