Code Monkey home page Code Monkey logo

Comments (3)

rssnyder avatar rssnyder commented on August 21, 2024

You can add one bot to a few servers, 2-3, without issues.

When it comes to hosting multiple coin tickers on the same instance, that is coming soon. I will keep this issue open and reference it when I get it implemented.

FWIW the id here is what needs to be changed to allow multiples of the same crypto: https://github.com/rssnyder/discord-stock-ticker/blob/master/ticker_request.go#L187

I will have to think of some way to make the id's unique, while still keeping the name reliant/clean.

from discord-stock-ticker.

rssnyder avatar rssnyder commented on August 21, 2024

update: have a working version with this patch, PR incoming:

{
  "ETHEREUM": {
    "ticker": "",
    "name": "ethereum",
    "nickname": true,
    "frequency": 3,
    "color": false,
    "decorator": "⬊",
    "currency": "USD",
    "currency_symbol": "$",
    "decimals": 0,
    "activity": "",
    "pair": "",
    "pair_flip": false,
    "multiplier": 0,
    "client_id": "xxxx",
    "crypto": true
  },
  "ETHEREUM1": {
    "ticker": "",
    "name": "ethereum",
    "nickname": true,
    "frequency": 3,
    "color": false,
    "decorator": "⬊",
    "currency": "USD",
    "currency_symbol": "$",
    "decimals": 0,
    "activity": "",
    "pair": "",
    "pair_flip": false,
    "multiplier": 0,
    "client_id": "xxxxxx",
    "crypto": true
  },
  "ETHEREUM2": {
    "ticker": "",
    "name": "ethereum",
    "nickname": true,
    "frequency": 3,
    "color": false,
    "decorator": "",
    "currency": "USD",
    "currency_symbol": "$",
    "decimals": 0,
    "activity": "",
    "pair": "",
    "pair_flip": false,
    "multiplier": 0,
    "client_id": "xxxxx",
    "crypto": true
  }
}

from discord-stock-ticker.

rssnyder avatar rssnyder commented on August 21, 2024

with #118 you can have multiple if they are different currencies. i will further extend this later to allow multiple of the same currency,

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.