1
0
mirror of https://github.com/danog/id3bot.git synced 2024-11-30 04:19:02 +01:00

Fixed bugs

This commit is contained in:
Daniil Gentili 2016-05-13 17:45:56 +02:00
parent bb768b4596
commit 0efec7dce1
4 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*~ *~
count count
token

View File

@ -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

View File

@ -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."

View File

@ -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