Skip to content

Commit

Permalink
bump to v0.1.0-beta.522
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed May 14, 2022
1 parent 3b9a4f1 commit a65d38d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion internal/pipes/initx/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func DockerInit() {

vos := viper.New()

vos.AutomaticEnv()
viper.AutomaticEnv()

vos.BindEnv(bot_token)
vos.BindEnv(app_token)

Expand All @@ -85,7 +88,7 @@ func DockerInit() {

vos.BindEnv(env)

viper.Set("botway.bots." + GetBotName() + ".guilds." + server + ".server_id", env)
viper.Set("botway.bots." + GetBotName() + ".guilds." + server + ".server_id", vos.Get(env))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "botway",
"version": "0.1.0-beta.521",
"version": "0.1.0-beta.522",
"description": "馃 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.",
"type": "module",
"author": "abdfnx",
Expand Down

0 comments on commit a65d38d

Please sign in to comment.