MSFTserver / TipBot

Crypto coin TipBot for discord
MIT License
40 stars 117 forks source link

Error when run for the first time #3

Closed CarmeloCampos closed 6 years ago

CarmeloCampos commented 6 years ago

node bot.js

aliases:
{ tip: 'tiprvn',
  rvntip: 'tiprvn',
  roletip: 'roletiprvn',
  multitip: 'multitirvn',
  rvnroletip: 'roletiprvn',
  rvnmultitip: 'multitirvn' }
(node:20279) ExperimentalWarning: The http2 module is an experimental API.
unhandledRejection: Error: Incorrect login details were provided.
MSFTserver commented 6 years ago

did you provide the proper config file set up like the example shows

MSFTserver commented 6 years ago

it's basically saying your bots token is wrong

CarmeloCampos commented 6 years ago

What is the token that I must put, it is first time I make a bot for discord, and it seems that the token that I put is not

MSFTserver commented 6 years ago

head over to here https://discordapp.com/developers/applications/me and create new app, after you created the app make it a bot by scrolling down to Bot area and click Create a Bot User image after clicking that it should change to a box with this info inside image use the token it gives you there

CarmeloCampos commented 6 years ago

Ready, I found it, now I will try

CarmeloCampos commented 6 years ago

Ultimo error: node bot.js No aliases defined

MSFTserver commented 6 years ago

I think I have to fix that check, check and see if anything in bot/alias.json exists

CarmeloCampos commented 6 years ago

The first error (No aliases defined) is when I put a comma (,) at the end of the last alias Console error: image

Syntax error: image

And the second is when I remove the comma (,) at the end of the aliases: image

image


Running the 2, the same bot does not respond image

CarmeloCampos commented 6 years ago

The error to be executed was resolved, only had to remove the comma at the end of the aliases image


Now my mistake is to ask for balance in the bot, I write! !tipwcc balance, and it responds with: Error getting Clovercoin balance.

image

MSFTserver commented 6 years ago

is that a masternode coin?

MSFTserver commented 6 years ago

try adding this to the wallets config another person had this issue with staking coin

staking=0 enableaccounts=1

CarmeloCampos commented 6 years ago

Ready, it's fixed and working, thank you very much

CarmeloCampos commented 6 years ago

I recommend you see this bot, it is super nice and functional, but I get an error when removing, and the owner does not respond to the issues, if you could see the bot and see my question in the issues, I would appreciate https://github.com/scottie/telegram-altcoin-wallet

MSFTserver commented 6 years ago

I'll check it out

CarmeloCampos commented 6 years ago

And if it's not too much trouble, this one too https://github.com/WolfClover/wallet-web Since it has the same problem, and when sending it gives error saying something about the alcoin-rpc