This commit is contained in:
parent
0c704bae0f
commit
8cf4f56215
@ -16,7 +16,6 @@ meu_ip_func () {
|
|||||||
rm -rf /etc/localtime &>/dev/null
|
rm -rf /etc/localtime &>/dev/null
|
||||||
ln -s /usr/share/zoneinfo/America/Chihuahua /etc/localtime &>/dev/null
|
ln -s /usr/share/zoneinfo/America/Chihuahua /etc/localtime &>/dev/null
|
||||||
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# -*- ENCODING: UTF-8 -*-
|
# -*- ENCODING: UTF-8 -*-
|
||||||
|
|
||||||
@ -103,6 +102,8 @@ source ShellBot.sh
|
|||||||
#bot_token="$(cat ${CIDdir}/token)"
|
#bot_token="$(cat ${CIDdir}/token)"
|
||||||
bot_token=$(cat /etc/CAT-BOT/data|awk -F '|' '{print $2}')
|
bot_token=$(cat /etc/CAT-BOT/data|awk -F '|' '{print $2}')
|
||||||
adm=$(cat $CIDdir/data|awk -F '|' '{print $1}')
|
adm=$(cat $CIDdir/data|awk -F '|' '{print $1}')
|
||||||
|
[[ $bot_token == '' ]] && bot_token="$3"
|
||||||
|
adm="$4"
|
||||||
|
|
||||||
# Inicializando el bot
|
# Inicializando el bot
|
||||||
ShellBot.init --token "$bot_token" --monitor --flush --return map
|
ShellBot.init --token "$bot_token" --monitor --flush --return map
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user