mirror of
https://github.com/danog/id3bot.git
synced 2024-11-30 04:19:02 +01:00
Fixed bugs
This commit is contained in:
parent
bb768b4596
commit
0efec7dce1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*~
|
*~
|
||||||
count
|
count
|
||||||
|
token
|
||||||
|
@ -74,7 +74,7 @@ Clone the repository:
|
|||||||
git clone --recursive https://github.com/topkecleon/telegram-bot-bash
|
git clone --recursive https://github.com/topkecleon/telegram-bot-bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Paste the token on line 9 of commands.sh (instead of tokenhere).
|
Create a file called token and paste the token in there.
|
||||||
Then start editing the commands.
|
Then start editing the commands.
|
||||||
|
|
||||||
### Receive data
|
### Receive data
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
|
|
||||||
if [ ! -d "JSON.sh" ]; then
|
if [ ! -f "JSON.sh/JSON.sh" ]; then
|
||||||
echo "You did not clone recursively! Downloading JSON.sh..."
|
echo "You did not clone recursively! Downloading JSON.sh..."
|
||||||
git clone http://github.com/dominictarr/JSON.sh
|
git clone http://github.com/dominictarr/JSON.sh
|
||||||
echo "JSON.sh has been downloaded. Proceeding."
|
echo "JSON.sh has been downloaded. Proceeding."
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
|
|
||||||
if [ "$1" = "source" ];then
|
if [ "$1" = "source" ];then
|
||||||
# Edit the token in here
|
# Place the token in the token file
|
||||||
TOKEN='tokenhere'
|
TOKEN=$(cat token)
|
||||||
# Set INLINE to 1 in order to receive inline queries.
|
# Set INLINE to 1 in order to receive inline queries.
|
||||||
# To enable this option in your bot, send the /setinline command to @BotFather.
|
# To enable this option in your bot, send the /setinline command to @BotFather.
|
||||||
INLINE=0
|
INLINE=0
|
||||||
|
Loading…
Reference in New Issue
Block a user