BladeBTC / BladeBTC

Telegram Bitcoin Bot
MIT License
97 stars 74 forks source link

how make investment plans #10

Closed boteditor closed 5 years ago

boteditor commented 6 years ago

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

nicelife90 commented 6 years ago

Hi,

The bot is not currently programmed to support multiple different investment plan. The rate can be set in the .env file.

boteditor commented 6 years ago

Yes i know but i want to ad 2 plans in same time if u put 1 btc you get hihger base rate.... and if you but 0.9999 btc you get lower base rate.... is that possible to do in bot ,,, and second question is how i add inline keyboard this bot i have do search but i cant get it working... InlineKeyboard and handler - simple example · Issue #436 · php-telegram-bot/corethis example dont work in this bot... if u want to see my bot what i do it i can send you link... sorry my bad english..

nicelife90 commented 6 years ago

Hi,

sorry for the late response. By now i'm not working on this application anymore. Like i said early this bot only support one investment plan. Multiple change is needed to support 2 or more investment plan. I keep your recommendation in mind.

Now, if you really need multiple investment plan you can send me a private message maybe a can do this modification but not for free.

boteditor commented 6 years ago

thank you i just made it my self i have now 3 investment plan but i have some another issue i send you pm

nicelife90 commented 5 years ago

A default investment plan is enable while you install the script. You could change this in database. For now a basic GUI can allow change on the default investment. But I will remove the GUI from the open source version when he will be full featured.