Skip to content

Commit 974defe

Browse files
authored
Merge pull request #16 from r-liner/develop
Develop (v0.7.8)
2 parents 27260ea + 6ce30e4 commit 974defe

File tree

7 files changed

+39
-22
lines changed

7 files changed

+39
-22
lines changed

.github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Ask a question
3+
- name: Ask a question
44
url: https://github.com/r-liner/discord-commands-bot/discussions
55
about: Ask questions and discuss with others

CHANGELOG.md

+23-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
11
# Discord Commands Bot - Changelog
2-
- [v0.7.6](#v076-2024-01-19)
3-
- [v0.7.5](#v075-2023-10-01)
42

3+
## [v0.7.7](https://github.com/r-liner/discord-commands-bot/releases/tag/v0.7.7) (2024-02-12)
54

6-
## v0.7.6 (2024-01-19)
5+
[Full Changelog](https://github.com/r-liner/discord-commands-bot/compare/v0.7.6...v0.7.7)
6+
7+
### Documentaion
8+
- **pull_request_template.md:** new pr template
9+
- **CHANGELOG.md:** added changelog file
10+
- **LICENSE:** 2022-2023 -> 2022-2024
11+
- **.version:** version bumped to 0.7.7
12+
- **bug.yml:** added bug template
13+
- **config.yml:** added question template
14+
- **README.md:** readme 2.0 (re-built)
15+
16+
### Misc
17+
- **misc(file):** added new screenshots
18+
- **misc(file):** deleted old READMEs
19+
20+
## [v0.7.6](https://github.com/r-liner/discord-commands-bot/releases/tag/v0.7.6) (2024-01-19)
21+
22+
[Full Changelog](https://github.com/r-liner/discord-commands-bot/compare/v0.7.5...v0.7.6)
723

824
### Tweaks
9-
- **change:** comments translated in `moderation.py` (ba8814fe3ce0e9a680652313f4cbe9e371d710a9)
25+
- **change:** comments translated in `moderation.py`
26+
27+
## [v0.7.5](https://github.com/r-liner/discord-commands-bot/releases/tag/v0.7.5) (2023-10-01)
1028

11-
## v0.7.5 (2023-10-01)
29+
[Full Changelog](https://github.com/r-liner/discord-commands-bot/compare/v0.7.4...v0.7.5)
1230

1331
### Features
1432
- **main.py:** Added `if name main` construction
@@ -19,6 +37,5 @@
1937
### Tweaks
2038
- **main.py:** switched to slash commands
2139
- **main.py:** translated one comment
22-
- **main.py:** added `if name main` construction
2340
- **tweak:** `start_win.bat` for better setup the bot
2441
- **tweak:** changed `config.ini.sample`

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pip install -r requirements.txt
8282
**Manual Installation**
8383
1. Complete [prerequisites](#prerequisites).
8484
2. [Download latest release](https://github.com/r-liner/discord-bot-ru/releases).
85-
3. Launch `setup.py` and complete setup procces.
85+
3. Launch `setup.py` and complete setup process.
8686
4. Done. Now you can launch the bot.
8787

8888
**Installation via Git**
@@ -106,7 +106,7 @@ During run the bot you must see:
106106
- March - Code simplify.
107107

108108
## Changelog
109-
You can find it [here]().
109+
You can find it [here](https://github.com/r-liner/discord-commands-bot/blob/master/CHANGELOG.md).
110110

111111
## Support
112112
❓ If you have a **question** ask it [here](https://github.com/r-liner/discord-commands-bot/issues).
@@ -120,7 +120,7 @@ Please ensure that you have thoroughly tested all your changes.
120120
Even if you`re not the programmer, you can contribute to this project by reporting bugs, requesting new features, fixing typos, etc.
121121

122122
## Contact
123-
If you have a question regarding the project, [open new issue](https://github.com/r-liner/discord-commands-bot/issue/new/choose).
123+
If you have a question regarding the project, [open new issue](https://github.com/r-liner/discord-commands-bot/issues/new/choose).
124124

125125
If your request would contain confidentional information, [please send me an email](mailto:[email protected]).
126126

config.ini.sample

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[bot]
2-
token = OTk3NDA5NDAxNzAwODgwNDM0.Gi9B5T.QlOAlxMQQocFMfzsy6icmQeHSGhtCD6gspbxaI
3-
owner_id = 923915325668487190
4-
prefix = .
2+
token =
3+
owner_id =
4+
prefix =
55

66
[settings]
7-
admin_guild = 0
7+
admin_guild =
88

99
[weather]
10-
openweather_token = f3923cf43434cff434343
10+
openweather_token =

main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ async def reload(interaction, extension):
114114
try:
115115
client.run(config["bot"]["token"])
116116

117-
except Exception as err:
118-
print(err)
119-
120117
except nextcord.PrivilegedIntentsRequired:
121118
exit("Login failure! Privileged Intents not enabled.")
122119

123120
except nextcord.errors.LoginFailure:
124121
exit("Login failure! Token is required.")
122+
123+
except Exception as err:
124+
print(err)

start_win.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if errorlevel 1 (
1616

1717
:install_python
1818
cls
19-
echo You must install Python 3.8 or above!
19+
echo You must install Python 3.8 or higher!
2020
echo Install Python and try again.
2121
echo.
2222
echo If python already installed, reinstall and add it to PATH via "Add Python to PATH" during installation
@@ -27,7 +27,7 @@ pause
2727
exit
2828

2929
:run
30-
py main.py
30+
python main.py
3131

3232
pause
3333
exit
@@ -38,7 +38,7 @@ cls
3838
echo You must setup the bot firstly
3939
echo.
4040

41-
py setup.py
41+
python setup.py
4242

4343
pause
4444
exit

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.7
1+
0.7.8

0 commit comments

Comments
 (0)