Add commands automatic on Dashboard

Im a PHP devloper and im building APIs to Nightbot i i want know how I can add commands to dashboard just for pressing a button

Take a look at the Nightbot API docs:

I dont understand nightbot API pls give me a example code

Please be a bit more specific, where do you need help with. On the right side of the docs you see examples.

I dont understand how to use OAuth and how to get JSON links with the data!

Twitter oauth example: here
Nightbot oauth docs: here

You should be able to see through the Nightbot documentation where stuff needs to go.Your best bet is to go through all of the Nightbot docs, and if you still don’t have any idea, google is your best bet. The majority of what you’re asking for is purely php related and would require you to have a basic idea of what you’re doing in the first place.

I really can’t figure out how to make a hug command for Nightbot…

This isn’t the right place to put this but you might be after the $(touser) variable.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.