Giter VIP home page Giter VIP logo

bladebtc's People

Contributors

bladebtc avatar nicelife90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bladebtc's Issues

Bot, mysql, GUI

Hi, i edit the file StartCommand.php message but nothing appened what i need to do?

  1. 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?

  2. 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 make investment plans

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

Updating active 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?

Bot typing but doesn’t respond

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?

Invest Error

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

hii

Hello, could you explain what kind of bot and??

BDD?

In .env.sample what is BDD for?

Can't set withdraw address

I install, and it work well. But when i paste btc address to chat, it not respone. Can you help me fix it, please?

BladeBTC GUI not commin

Hello, I am trying to install bladeBTC into Ubuntu 16.04 LTS but not able to work on my web browser

Webhook Error

[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?

About Blockchain

sir how I can fix this sir.. im using free vps ,ubuntu 14.04 i dont have any money sir..can u help me with this problem sir.. pls.. thnk you in advance

sketch 4

How to start the Bot - Server Starting

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

translate

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"],

Mysql

i uploaded base.sql to another site for db

And now?

Sry for how many times i open the ticket :)

Please response me :=)

BDD?

What is the server BDD?what does it mean and App id does it mean Api key of bot?

Changing Language

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

Install script ouput warning - Installer run more than once

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

Deposit

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

russian translation

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?

Admin Panel

Hi,

Is there an admin panel?
if yes how to acces it?

regards,

ETH

Describe the solution you'd like
Would be nice to add ETH support for blockchain.com

HTTP ERROR 500

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 !

Buy DB

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.

ERROR 1064 (42000) at line 21: You have an error in your SQL syntax

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.

Err_Auth

The issue is below. I think the script is failing to authenticate when you tap on the invest button. Can you look into this?

41727932-9220012c-7543-11e8-8be1-2b6fb0374bb6

OutCommand.php

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]);

AWS

Does this install work on Amazon EC2 servers?
I have installed and no response from bot, or web browser.

typing on bot but no response

i have had a success instaliing the bot to a vps and the bot when giving it commands it says "typing" and no response what is prolem?
screenshot at 2019-03-04 01-46-32

Bug with reinvestment

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.

Bot installed but no response

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

Database

How i setup the bot database? I Have the database from the another site.

Please Help.

BD

where bd?
webmin dont open
https//"ip":10000

Balance not updating after active investment

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

Bot doesnt update with clickable boxes

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

No such file or directory

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)

Update Function

How does this option in ./install really works? will it update whenever a new release has been committed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.