onlyrickroll commited on
Commit
fe2ce4e
·
verified ·
1 Parent(s): d2ea16b

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -3
entrypoint.sh CHANGED
@@ -10,7 +10,7 @@ echo $PATH
10
  #dig api.telegram.org
11
  #dig discord.com/api/v10
12
 
13
- #cat /dev/null >/etc/resolv.conf
14
 
15
  cat <<EOF >> /etc/resolv.conf
16
  nameserver 1.1.1.1
@@ -45,7 +45,7 @@ cat <<EOF > ~/.nanobot/config.json
45
  "allowFrom": ["$TG_ID"]
46
  },
47
  "discord": {
48
- "enabled": true ,
49
  "token": "$DC_TOKEN",
50
  "allowFrom": ["$DC_ID"]
51
  }
@@ -53,7 +53,7 @@ cat <<EOF > ~/.nanobot/config.json
53
  }
54
  EOF
55
 
56
- #sh /app/test.sh
57
  #curl -I https://discord.com
58
 
59
  echo "Starting Python bot on port 8888..."
 
10
  #dig api.telegram.org
11
  #dig discord.com/api/v10
12
 
13
+ cat /dev/null >/etc/resolv.conf
14
 
15
  cat <<EOF >> /etc/resolv.conf
16
  nameserver 1.1.1.1
 
45
  "allowFrom": ["$TG_ID"]
46
  },
47
  "discord": {
48
+ "enabled": false ,
49
  "token": "$DC_TOKEN",
50
  "allowFrom": ["$DC_ID"]
51
  }
 
53
  }
54
  EOF
55
 
56
+ sh /app/test.sh
57
  #curl -I https://discord.com
58
 
59
  echo "Starting Python bot on port 8888..."