Code Monkey home page Code Monkey logo

Comments (5)

Treawlony avatar Treawlony commented on July 20, 2024 1

Got it! I had the page with instruciton opened twice and I mixed ticker with tickerboard. Solved! Thanks!

from discord-stock-ticker.

Treawlony avatar Treawlony commented on July 20, 2024

Extra info: that is the correct port, 8080 is already busy with something else. Containter internal port is 8080

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

@Treawlony that call you making is a GET request, which lists the current boards, so the response is showing you have no loaded bots. To add some, make a POST call with the necessary payload to create them. Then the GET call will show you what you have loaded.

Are you sure you loaded a tickerboard and not a ticker or another one of the 4 bots the service offers?

from discord-stock-ticker.

Treawlony avatar Treawlony commented on July 20, 2024

I'm currently testing running this:

curl -X POST -H "Content-Type: application/json" --data '{
"name": "bitcoin",
"crypto": true,
"ticker": "btc",
"set_color": true,
"currency": "USD",
"decimals": 3,
"set_nickname": true,
"frequency": 10,
"discord_bot_token": "addkeyhere"
}' localhost:9090/ticker

also, apparently has some issues with colors:

image

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

@Treawlony yeah so you need to do curl localhost:9090/ticker instead, that will give you a list.

For the color changing, see https://github.com/rssnyder/discord-stock-ticker#roles-for-colors

from discord-stock-ticker.

Related Issues (20)

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.