Skip to content

Commit

Permalink
3.5.0c
Browse files Browse the repository at this point in the history
  • Loading branch information
eibex committed Feb 17, 2025
1 parent ae1088d commit 7d86b42
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0b
3.5.0c
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 3.5.0
- BREAKING CHANGE: `./config.ini` needs to be moved to `/config/config.ini` (change needed to better support Docker - sorry!)
- Add the possibility to define a Discord bot token on Docker startup with the environment variable `TOKEN`, eliminating the need to manually create a `config.ini` file. The `TOKEN` environment variable will have no effect if a `config.ini` file already exists.
- 3.5.0b: fixed startup issue
- 3.5.0c: fixed startup issue

### 3.4.5
- Add German translation ([#137](https://github.com/eibex/reaction-light/pull/137) by [Marc-R2](https://github.com/Marc-R2))
Expand Down
2 changes: 1 addition & 1 deletion cogs/utils/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def setup(directory):
os.remove(f"{bot_folder}/config/config.ini")

config = configparser.ConfigParser()
config.read(f"{bot_folder}/config/config.ini.sample")
config.read(f"{bot_folder}/config.ini.sample")
config["server"]["token"] = token
with open(f"{bot_folder}/config/config.ini", "w") as f:
config.write(f)
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@


config = configparser.ConfigParser()
config.read(f"{folder}/config/config.ini.sample")
config.read(f"{folder}/config.ini.sample")
config["server"]["token"] = token
config["server"]["name"] = name
config["server"]["logo"] = logo
Expand Down

0 comments on commit 7d86b42

Please sign in to comment.