bladebtc / bladebtc Goto Github PK
View Code? Open in Web Editor NEWTelegram Bitcoin Bot
License: MIT License
Telegram Bitcoin Bot
License: MIT License
hello you can help me start the bot?
when it says restart the server restart the raspberry pi but it does not work like never ?
Hi, i edit the file StartCommand.php message but nothing appened what i need to do?
Mysql: I haven't a database with the same ip of the vps but i have a web site i can set the database to another site?
i edit the file for gui (the name and others) but the name is the same.... I try to open the file from vps and the code is edited but idk...
How to make investment plans ex. A plan and B plan.. to this bot i dont know right code to mysql.... is it in cron deposit file,? Can you please send me example or fully code..edited.. i just started to programming learn about month ago.. and i like this bot...
Hello!
Would you mind explaining how update is made on working bot?
For example bot is active and script is running on server and some changes needed to be done and uploaded. What is the procedure? Or maybe there is any documentation on this issue?
Hello, I am having an issue with the bot.
Everything is setup properly but when I start the bot. The bot will start typing but it won’t send anything. It will stop typing after 15 seconds and no response.
Any help?
Hi nicelife90, I'm getting an error when I click invest in the bot chat can you please help? Seems to be like its not logging in or do you need have BTC in the blockchain account first.
"An error occurred while generating your payment address.
Please contact support with this account ID : 653496879. 😖"
Thanks
Hi
From where i can download this file ?
Hello, could you explain what kind of bot and??
In .env.sample what is BDD for?
I install, and it work well. But when i paste btc address to chat, it not respone. Can you help me fix it, please?
I've referred 3 people with my link and status is still not showing up, it says no referrals
how to change the language on the buttons
HI! i need to modify the script for install bot to another database? (I haven't the db on the vps with same ip)
Composer could not find a composer.json file in /var/www/bot
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
./installer.sh: line 321: /var/www/bot/localhost.sql: No such file or directory
{"ok":false,"error_code":404,"description":"Not Found"}
New start file created
Hello, I am trying to install bladeBTC into Ubuntu 16.04 LTS but not able to work on my web browser
[php7:error] [pid 1416] [client 139.99.99.145:48458] PHP Fatal error: Uncaught Error: Call to a member function getText() on null in /var/www/bot/BladeBTC/WebHookHandler.php:50\nStack trace:\n#0 /var/www/bot/index.php(39): BladeBTC\WebHookHandler->__construct(Object(Telegram\Bot\Api))\n#1 {main}\n thrown in /var/www/bot/BladeBTC/WebHookHandler.php on line 50
Any Ideas what that might be?
you could help me with the Blade BTC bot
charge everything at the end remains stationary here
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
{"ok":true,"result":true,"description":"Webhook is already set"}
New start file created
REBOOT YOUR SERVER NOW
what should I do to start the bot ??
does not see Russian
how to fix???
elseif (preg_match("/\bBalance\b/i", $text))
elseif (preg_match("/\bБаланс\b/i", $text))
$keyboard = [
["Баланс " . Btc::Format($user->getBalance()) . " \xF0\x9F\x92\xB0"],
["Invest \xF0\x9F\x92\xB5", "Withdraw \xE2\x8C\x9B"],
["Reinvest \xE2\x86\xA9", "Help \xE2\x9D\x93"],
["My Team \xF0\x9F\x91\xAB"],
i uploaded base.sql to another site for db
And now?
Sry for how many times i open the ticket :)
Please response me :=)
What is the server BDD?what does it mean and App id does it mean Api key of bot?
hey bro i am can not install this bot
u can help me ?!
can help me contact me :
telegram : @ilijenab
Email : [email protected]
tnq u so mutch for helping
and you best programing
To change the language you need to edit each command.
Also you need to change the text from these lines to reflect the new text:
The command text is parsed using a preg_match is button text is not the some in webhook handler nothing will be handle.
if (preg_match("/\bBalance\b/i", $text)) {
$telegram->getCommandBus()->handler('/balance', $updates);
}
elseif (preg_match("/\bInvest\b/i", $text)) {
$telegram->getCommandBus()->handler('/invest', $updates);
}
elseif (preg_match("/\bWithdraw\b/i", $text)) {
$telegram->getCommandBus()->handler('/withdraw', $updates);
}
elseif (preg_match("/\bReinvest\b/i", $text)) {
$telegram->getCommandBus()->handler('/reinvest', $updates);
}
elseif (preg_match("/\bBack\b/i", $text)) {
$telegram->getCommandBus()->handler('/back', $updates);
}
elseif (preg_match("/\bTeam\b/i", $text)) {
$telegram->getCommandBus()->handler('/referral', $updates);
}
elseif (preg_match("/\bHelp\b/i", $text)) {
$telegram->getCommandBus()->handler('/info', $updates);
}
In webhookhandler file!
https://github.com/BladeBTC/BladeBTC/blob/master/BladeBTC/BladeBTC/WebHookHandler.php
I install everything but stays still on
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
{"ok":true,"result":true,"description":"Webhook is already set"}
New start file created
REBOOT YOUR SERVER NOW
HI,I installed the bot, the bot works, I click "Invest 💵" the bot gives the address, I send bitcoins to it, a lot of confirmations go through, but this amount does not appear anywhere in the bot as if it didn't send anything
Can not translate into Russian. I am changing words in the WebHookHandler.php file and in files from the Commands folder. What am I doing wrong?
Do i have to set webhook
Hi,
Is there an admin panel?
if yes how to acces it?
regards,
Describe the solution you'd like
Would be nice to add ETH support for blockchain.com
HTTP ERROR 500
this error shown in the host link that i used (domain or the ip of host)
bot looks like work good but it cant invest on it ->>
""An error occurred while generating your payment address.
Please contact support with this account ID ""
so i think this not working because error 500 in website.
my php 7.0 i try use 5.6 and same problem + bot stop working.
when i back to 7.0 bot work again but problem of invest still there!
i also try to remove .htaccess and same problem
help me please !
i think its the php version
should i downrage to the 5.6?
Originally posted by @muc1 in https://github.com/nicelife90/BladeBTC/issues/14#issuecomment-426349149
yes thank you or installed everything but the web page remains white at the end of the installation it tells me to restart the server I restart the raspberry but the bot does not start
Im having a hard time setting up the index page for my domain. Will you guide me about the redirects of the system? thank you.
HI! Thanks for sharing this fantastic source!
What type of DataBase i need to buy: ?
MariaDB 10.2 / 10.1
MySql 5.7
PosteGreSql 10 / 11 / 9.6
Redis 3.2 / 4.0
And How many ram?
512 MB / 1 GB RAM
Thanks, Bye.
Hi, At the end of today's patch gives the following:
Creating Database ... [PLEASE WAIT]
./install.sh: line 381: investment: command not found
./install.sh: line 381: investment: command not found
./install.sh: line 381: telegram_id: command not found
./install.sh: line 381: amount: command not found
./install.sh: line 381: rate: command not found
./install.sh: line 381: contract_end_date: command not found
./install.sh: line 381: contract_start_date: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: telegram_id_referent: command not found
./install.sh: line 381: telegram_id_referred: command not found
./install.sh: line 381: bind_date: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: telegram_id: command not found
./install.sh: line 381: amount: command not found
./install.sh: line 381: withdraw_address: command not found
./install.sh: line 381: message: command not found
./install.sh: line 381: tx_hash: command not found
./install.sh: line 381: notice: command not found
./install.sh: line 381: status: command not found
./install.sh: line 381: telegram_username: command not found
./install.sh: line 381: telegram_first: command not found
./install.sh: line 381: telegram_last: command not found
./install.sh: line 381: telegram_id: command not found
./install.sh: line 381: balance: command not found
./install.sh: line 381: invested: command not found
./install.sh: line 381: profit: command not found
./install.sh: line 381: commission: command not found
./install.sh: line 381: payout: command not found
./install.sh: line 381: rate: command not found
./install.sh: line 381: investment_address: command not found
./install.sh: line 381: last_confirmed: command not found
./install.sh: line 381: wallet_address: command not found
./install.sh: line 381: referral_link: command not found
./install.sh: line 381: created_at: command not found
./install.sh: line 381: investment: command not found
./install.sh: line 381: investment: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: telegram_id_referred: command not found
./install.sh: line 381: telegram_id_referred: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: telegram_id: command not found
./install.sh: line 381: telegram_id: command not found
./install.sh: line 381: investment: command not found
./install.sh: line 381: investment: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: referrals: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: transactions: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: first_name: command not found
./install.sh: line 381: last_name: command not found
./install.sh: line 381: username: command not found
./install.sh: line 381: password: command not found
./install.sh: line 381: email: command not found
./install.sh: line 381: profile_img: command not found
./install.sh: line 381: last_login_date: command not found
./install.sh: line 381: last_login_ip: command not found
./install.sh: line 381: login_attempt: command not found
./install.sh: line 381: account_group: command not found
./install.sh: line 381: inscription_date: command not found
./install.sh: line 381: deleted: command not found
./install.sh: line 381: deleted_date: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: first_name: command not found
./install.sh: line 381: last_name: command not found
./install.sh: line 381: username: command not found
./install.sh: line 381: password: command not found
./install.sh: line 381: email: command not found
./install.sh: line 381: profile_img: command not found
./install.sh: line 381: last_login_date: command not found
./install.sh: line 381: last_login_ip: command not found
./install.sh: line 381: login_attempt: command not found
./install.sh: line 381: account_group: command not found
./install.sh: line 381: inscription_date: command not found
./install.sh: line 381: deleted: command not found
./install.sh: line 381: deleted_date: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: group_name: command not found
./install.sh: line 381: dashboard: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: group_name: command not found
./install.sh: line 381: dashboard: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: group_name: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: mail_group_id: command not found
./install.sh: line 381: email: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: menu_id: command not found
./install.sh: line 381: title: command not found
./install.sh: line 381: icon: command not found
./install.sh: line 381: display_order: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: menu_id: command not found
./install.sh: line 381: title: command not found
./install.sh: line 381: icon: command not found
./install.sh: line 381: display_order: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: description: command not found
./install.sh: line 381: name: command not found
./install.sh: line 381: icon: command not found
./install.sh: line 381: access_level: command not found
./install.sh: line 381: parent: command not found
./install.sh: line 381: static: command not found
./install.sh: line 381: visits: command not found
./install.sh: line 381: last_visit: command not found
./install.sh: line 381: active: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: description: command not found
./install.sh: line 381: name: command not found
./install.sh: line 381: icon: command not found
./install.sh: line 381: access_level: command not found
./install.sh: line 381: parent: command not found
./install.sh: line 381: static: command not found
./install.sh: line 381: visits: command not found
./install.sh: line 381: last_visit: command not found
./install.sh: line 381: active: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: description: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: description: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: setting_name: command not found
./install.sh: line 381: setting_value: command not found
./install.sh: line 381: description: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: username: command not found
./install.sh: line 381: username: command not found
./install.sh: line 381: account_group: command not found
./install.sh: line 381: account_group: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: group_name: command not found
./install.sh: line 381: group_name: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: mail_group_id: command not found
./install.sh: line 381: mail_group_id: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: menu_id: command not found
./install.sh: line 381: menu_id: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: gui_account: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: gui_menu: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_module: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: gui_setting: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_mail_group_member: command not found
./install.sh: line 381: gui_mail_group_member_ibfk_1: command not found
./install.sh: line 381: mail_group_id: command not found
./install.sh: line 381: gui_mail_group: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: gui_rbac_assignment: command not found
./install.sh: line 381: gui_rbac_assignment_ibfk_1: command not found
./install.sh: line 381: rbac_items_id: command not found
./install.sh: line 381: gui_rbac_items: command not found
./install.sh: line 381: gui_rbac_assignment_ibfk_2: command not found
./install.sh: line 381: group_id: command not found
./install.sh: line 381: gui_group: command not found
./install.sh: line 381: group_id: command not found
ERROR 1064 (42000) at line 21: You have an error in your SQL syntax; check the m anual that corresponds to your MariaDB server version for the right syntax to us e near '(
uid=0(root) gid=0(root) groups=0(root) ' at line 1
This is the only error during installation.
Hi! I have an error in OutCommand.php
Undefined offset: 1
File: OutCommand.php
Line: 71
Code Line 71: $out_amount = trim(explode(" ", $this->update->getMessage()->getText())[1]);
I have tried to white list the ip in blockchain wallet and checked node.js.
Does this install work on Amazon EC2 servers?
I have installed and no response from bot, or web browser.
When user do a reinvestment the invested balance is updated with the reinvestment amount. But the cron_deposit file use the invested amount to compare the new balance of deposit. While a reinvestment is not comming from deposit the cron_deposit file can be break.
We need to add a reinvestment field in database and caculate interest from this field and leave the investment field only for the real user investment.
Hello sir, how are you?
I have installed bot correctly and no error appear, but I still do not get response from bot.
Server Ubuntu 14.04
What can be wrong ? is there any command to run bot or it will automatically run?
Also what configuration needed to make BotFather ? ( Customize and put your new bot inline with BotFather )
Thanks
How i setup the bot database? I Have the database from the another site.
Please Help.
where bd?
webmin dont open
https//"ip":10000
When I Invest and it becomes an active investement, the bot places the right amount of profit into the balance but as soon as the active investment is expired it doesn't credit your btc back to /balance. So you're left with a balance that just consists of your profit
hello you can help me to install the BladeBtc bot
I noticed there are no buttons to click in telegram. I was debugging and realized that
index.php needs to use Telegram\Bot\Api however this directory is nowhere to be found after installation
HI, With the introduction of chmod 550 install.sh the answer should be: chmod: cannot access 'install.sh': No such file or directory (BladeBTC (UBUNTU 18.04 LTS)
How does this option in ./install really works? will it update whenever a new release has been committed?
in the instructions is missing where to put the botfather codes and how to start the bot??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.