Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-responsive bot #1

Open
VadneyK opened this issue May 26, 2021 · 0 comments
Open

non-responsive bot #1

VadneyK opened this issue May 26, 2021 · 0 comments

Comments

@VadneyK
Copy link

VadneyK commented May 26, 2021

Hello I'm following your tutorial here:
https://morioh.com/p/34ace45c86d3

and am trying to fork the repo to make a discord faucet bot for PLD - for plasm network, a parachain on rococo.

I'm confused by the following line:

Screen Shot 2021-05-26 at 10 02 18 AM

does this mean that I have to have a local substrate node running to have the bot working? If so how do I connect that node to the discord bot server that the node.js is running? I cloned the repo and added the bot to my server and ran the code and it compiles but nothing comes up when I enter !faucet or /faucet in the discord server so it seems that the bot is not responsive. Additionally I ran the substrate node but it seems that I can't connect even though I entered my token:

Screen Shot 2021-05-26 at 10 12 48 PM

Is there some additional set up that is missing?

Additionally there seems to be a return statement cutting off the rest of the test file. Can I just delete the return?

Screen Shot 2021-05-26 at 10 04 40 AM

Also I believe to have the bot work on plasm I just have to change address_type: 42 to address_type: 5 in development.js according to here:

https://github.com/paritytech/substrate/blob/e232d78dd5bafa3bbaae9ac9db08f99e238392db/primitives/core/src/crypto.rs#L444

would this be the case?

@VadneyK VadneyK changed the title run substrate node? non-responsive bot May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant