Skip to content

Commit

Permalink
Update 3 files
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Aug 6, 2023
1 parent b5eaf9b commit dcb9dc9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": ["make install"],
"setupTasks": [
{
"name": "make install",
"command": "make install"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
Expand All @@ -12,7 +17,7 @@
"run": {
"name": "run",
"command": "make run_bot",
"runAtStart": false
"runAtStart": true
}
}
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint:

# command to run bot in normal mode
run_bot:
cd tlg_bot && python3 -m kreacher
cd tlg_bot && python3 -m

# command to run bot in virtual enviroment
run_bot_virtual_env:
Expand Down
2 changes: 1 addition & 1 deletion tlg_bot/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source .env

expect << EOF
spawn python3 -m kreacher
spawn python3 -m
expect "Please enter your phone (or bot token): "
send -- "$BOT_TOKEN\r"
expect eof
Expand Down

0 comments on commit dcb9dc9

Please sign in to comment.