|
1 |
| -# discord-commands-bot [](https://www.codefactor.io/repository/github/r-liner/discord-commands-bot) |
| 1 | +# Discord Commands Bot [](https://www.codefactor.io/repository/github/r-liner/discord-commands-bot) |
| 2 | + |
| 3 | + |
| 4 | +[](https://www.python.org/downloads/) |
| 5 | +[](https://pypi.org/project/nextcord/) |
| 6 | + |
2 | 7 |
|
3 |
| -## Choose your language / Выберите язык |
| 8 | +# Description |
| 9 | +An another yet Discord multipurposal bot written in Python. |
| 10 | + |
| 11 | +## Table of Contents |
| 12 | +- [Discord Commands Bot](#discord-commands-bot-code-factor) |
| 13 | +- [Description](#description) |
| 14 | +- [Table of Contents](#table-of-contents) |
| 15 | +- [Key Features](#key-features) |
| 16 | +- [Installation](#installation) |
| 17 | + - [Prerequisites](#prerequisites) |
| 18 | + - [API Keys](#api-keys) |
| 19 | + - [Requirements](#requirements) |
| 20 | + - [Installing - Self Hosting](#installing---self-hosting) |
| 21 | +- [Launch](#launch) |
| 22 | +- [Roadmap](#roadmap) |
| 23 | +- [Changelog](#changelog) |
| 24 | +- [Support](#support) |
| 25 | +- [Contribution](#contribution) |
| 26 | +- [Contact](#contact) |
| 27 | +- [License](#license) |
| 28 | + |
| 29 | +## Key Features |
| 30 | +- Async-await syntax |
| 31 | +- Slash commands partial-ready |
| 32 | +- Easy installation, setup |
| 33 | +- Use the same bot instance on multiple guilds |
| 34 | +- Regurarly updates |
| 35 | + |
| 36 | +## Installation |
| 37 | +### Prerequisites |
| 38 | +#### API Keys |
| 39 | +- Discord - https://discord.com/developers |
| 40 | +- Openweather (Optional) - https://openweathermap.org/api |
| 41 | + |
| 42 | +##### How to get discord token? |
| 43 | +1. Go to [Discord Developer Portal](https://discord.com/developers). |
| 44 | +2. Press **New Application**. |
| 45 | + |
| 46 | + <details> |
| 47 | + <summary>Hint</summary> |
| 48 | + <img src='./assets/discord developer portal/setup_01.png' alt='setup_01.png'> |
| 49 | + </details> |
| 50 | +3. Enter application name and press **Create**. |
| 51 | + <details> |
| 52 | + <summary>Hint</summary> |
| 53 | + <img src='./assets/discord developer portal/setup_02.png' alt='setup_02.png'> |
| 54 | + </details> |
| 55 | +4. Go to tab **Bot**. |
| 56 | +5. Reset and **Copy** bot token. |
| 57 | + <details> |
| 58 | + <summary>Hint</summary> |
| 59 | + <img src='./assets/discord developer portal/setup_03.png' alt='setup_03.png'> |
| 60 | + </details> |
| 61 | + |
| 62 | +Obtained keys must be entered while setup the bot through `setup.py`. |
| 63 | + |
| 64 | +#### Requirements |
| 65 | +- Installation of Python 3.8+ - https://www.python.org/downloads/ |
| 66 | + |
| 67 | +##### Install nextcord: |
| 68 | +```sh |
| 69 | +# Linux/macOS |
| 70 | +python3 -m pip install -U nextcord |
| 71 | + |
| 72 | +# Windows |
| 73 | +pip install -U nextcord |
| 74 | +``` |
| 75 | +##### Install dependencies: |
| 76 | +``` |
| 77 | +pip install -r requirements.txt |
| 78 | +``` |
| 79 | + |
| 80 | +### Installing - Self Hosting |
| 81 | + |
| 82 | +**Manual Installation** |
| 83 | +1. Complete [prerequisites](#prerequisites). |
| 84 | +2. [Download latest release](https://github.com/r-liner/discord-bot-ru/releases). |
| 85 | +3. Launch `setup.py` and complete setup procces. |
| 86 | +4. Done. Now you can launch the bot. |
| 87 | + |
| 88 | +**Installation via Git** |
| 89 | +1. Complete [prerequisites](#prerequisites). |
| 90 | +2. Clone repository using: |
| 91 | +```sh |
| 92 | +git clone https://github.com/r-liner/discord-commands-bot |
| 93 | +``` |
| 94 | +3. Launch `setup.py` and complete setup procces. |
| 95 | +4. Done. Now you can launch the bot. |
| 96 | + |
| 97 | +## Launch |
| 98 | +You can run the bot through the `start_win.bat` for Windows |
| 99 | +or directly through the `main.py`. <br> |
| 100 | +During run the bot you must see: |
| 101 | +* Bot username (format: name#discrim). |
| 102 | +* Count of bot servers. |
| 103 | + |
| 104 | +## Roadmap |
| 105 | +- Feb - Migration to slash commands. |
| 106 | +- March - Code simplify. |
| 107 | + |
| 108 | +## Changelog |
| 109 | +You can find it [here](). |
| 110 | + |
| 111 | +## Support |
| 112 | +❓ If you have a **question** ask it [here](https://github.com/r-liner/discord-commands-bot/issues). |
| 113 | + |
| 114 | +🐛 If you found a **bug** have a look at the [issue list](https://github.com/r-liner/discord-commands-bot/issues/new/choose) before you [create a new issue](https://github.com/r-liner/discord-commands-bot/issues/new/choose). Please provide as much information as possible to help us understand and reproduce your issue. |
| 115 | + |
| 116 | +## Contribution |
| 117 | +If you would like to contribute to this project, fork repository, add your changes and then create pull request. |
| 118 | +Please ensure that you have thoroughly tested all your changes. |
| 119 | + |
| 120 | +Even if you`re not the programmer, you can contribute to this project by reporting bugs, requesting new features, fixing typos, etc. |
| 121 | + |
| 122 | +## Contact |
| 123 | +If you have a question regarding the project, [open new issue](https://github.com/r-liner/discord-commands-bot/issue/new/choose). |
| 124 | + |
| 125 | +If your request would contain confidentional information, [please send me an email](mailto:contact.liner999@gmail.com). |
| 126 | + |
| 127 | +## License |
| 128 | +[MIT](https://opensource.org/license/mit/) |
4 | 129 |
|
5 |
| -<img class="us" src="https://flagpedia.net/data/flags/w580/us.webp" width=30 align="center"> [English](https://github.com/r-liner/discord-commands-bot/blob/master/readme%60s/EN.MD) |
6 |
| -<br> |
7 |
| -<img src="https://flagpedia.net/data/flags/w580/ru.webp" width=30 align="center"> [Русский](https://github.com/r-liner/discord-commands-bot/blob/master/readme%60s/RU.MD) |
8 |
| -<br> |
9 |
| -<img src="https://flagpedia.net/data/flags/w580/fr.webp" width=30 align="center"> [Français](https://github.com/r-liner/discord-commands-bot/blob/master/readme%60s/FR.MD) |
10 | 130 | <br>
|
11 |
| -<img src="https://flagpedia.net/data/flags/w580/de.webp" width=30 align="center"> [Deutsch](https://github.com/r-liner/discord-commands-bot/blob/master/readme%60s/DE.MD) |
| 131 | + |
| 132 | +Copyright © 2022-2024 [liner](https://github.com/r-liner) |
| 133 | + |
| 134 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 135 | +of this software and associated documentation files (the "Software"), to deal |
| 136 | +in the Software without restriction, including without limitation the rights |
| 137 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 138 | +copies of the Software, and to permit persons to whom the Software is |
| 139 | +furnished to do so, subject to the following conditions: |
| 140 | + |
| 141 | +The above copyright notice and this permission notice shall be included in all |
| 142 | +copies or substantial portions of the Software. |
| 143 | + |
| 144 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 145 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 146 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 147 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 148 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 149 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 150 | +SOFTWARE. |
| 151 | + |
| 152 | +[(Back to top)](#table-of-contents) |
0 commit comments