Add live stock & crypto prices to your discord sidebar.

discord-stock-ticker

Live stock and crypto tickers for your discord server.

Now with five different types of tickers!

🍾 400+ public tickers with over 15k installs across 3k discord servers!

Are you just looking to add free tickers to your discord server? Click the discord icon below to join the support server and get the list of avalible bots!

Releases MIT License

GitHub last commit GitHub stars GitHub watchers

Contents

Preview

imageTICKERSBOARDSimageHOLDERS

Join the discord server

Discord Chat

Support this project

Buy Me a Coffee

DigitalOcean Referral Badge

Love these bots? You can support this project by subscribing to the premium version, buying me a coffee, using my digital ocean referral link, or hiring me to write or host your discord bot!

Add free tickers to your servers

Stocks

bb | amc | nok | aapl | amzn | goog | ^gspc | ^dji | ^ixic | tsla | dkng | spy | amd | nio | gc=f | si=f | cl=f | pltr | pypl | sndl | rty=f | ^vix | arkk | msft | nflx | gme | dis | es=f | nq=f | ym=f | nvda | fb | btc | coin | ndaq | qqq |

Crypto

bitcoin | ethereum | bitcoin-cash | dogecoin | monero | litecoin | ripple | polkadot | cardano | chainlink | stellar | iota | reef-finance | algorand | tezos | ethereum-classic | ravencoin | binancecoin | ecomi | aave | uniswap | bittorrent-2 | tron | vechain | illuvium | cosmos | zilliqa | matic-network | basic-attention-token | shiba-inu | pancakeswap-token | solana | raydium | safemoon | ftx-token | enjincoin | decentraland | fantom | coti | hedera-hashgraph | sushi | kusama | eos | terra-luna | chia | theta-token | tether | smooth-love-potion | axie-infinity | harmony | cryptoblades | my-defi-pet | mist | weth | plant-vs-undead-token | cryptozoon | binance-usd | splinterlands | wax | coinary-token | avalanche-2 | cryptocars | binamon | wanaka-farm |

Gas Prices

Ethereum Invite LinkBinance Smart Chain Invite LinkPolygon Invite Link

Other (not my) crypto discord bots

image

Premium

For advanced features like faster update times and color changing names on price changes you can subscribe to my premuim offering.

Price per bot (paid monthly): $1

Price per bot (paid yearly): $10

If you are interested please see the contact info on my github page and send me a messgae via your platform of choice (discord perferred). For a live demo, join the support discord linked at the top or bottom of this page.

Self-Hosting - Docker

Grab the current release number from the release page and expose your designated API port:

docker run -p "8080:8080" ghcr.io/rssnyder/discord-stock-ticker:3.4.1

You can set the config via ENV vars, since we use namsral/flag the variables are the same as the flag inputs, but all uppercase:

When using the binary...

  -address="localhost:8080": address:port to bind http server to.
  -cache=false: enable cache for coingecko
  -db="": file to store tickers in
  -frequency=0: set frequency for all tickers
  -logLevel=0: defines the log level. 0=production builds. 1=dev builds.
  -redisAddress="localhost:6379": address:port for redis server.
  -redisDB=0: redis db to use
  -redisPassword="": redis password

When using env (docker)...

export ADDRESS="localhost:8080" # address:port to bind http server to.
export CACHE=false # enable cache for coingecko
export DB="" # file to store tickers in
export FREQUENCY=60 # set frequency for all tickers
export LOGLEVEL=0 # defines the log level. 0=production builds. 1=dev builds.
export REDISADDRESS="localhost:6379" # address:port for redis server.
export REDISDB=0 # redis db to use
export REDISPASSWORD="" # redis password
docker run -p "8080:8080" --env CACHE=true ghcr.io/rssnyder/discord-stock-ticker:3.4.1

Then you can pass a volume to store the state (and at the same time, upgrade to using docker-compose):

---
version: "3"
services:

  discordstockticker:
    image: ghcr.io/rssnyder/discord-stock-ticker:3.4.1
    environment:
      - DB=/dst.db
      - CACHE=true
    volumes:
      - /home/infra/dst.db:/dst.db
    ports:
      - "8112:8080"

Self-Hosting - binary

This bot is distributed as a docker image and a binary.

The program acts as a manager of one to many bots. You can have one running instance of the program and have any number of bots running within it.

Click here to watch a quick video tutorial on how to self-host these bots on linux.

If you are using windows and do not have a unix shell to use, you should use powershell. Here is an example of an API call using powershell:

$Body = @{
  name = "bitcoin"
  crypto = $true
  discord_bot_token = "xxxxxxxxxxxxxxxxxxxxxxxxx"
}
 
$Parameters = @{
    Method = "POST"
    Uri =  "127.0.0.1:8080/ticker"
    Body = ($Body | ConvertTo-Json) 
    ContentType = "application/json"
}

Invoke-RestMethod @Parameters

Roles for colors

To enable color changing you will need to create three roles.

The first role is the role the tickers will appear under. It can be named anything you want. You need to check the Display role members seperatly from other online members option for this role, but do not assign a custom color for this role, leave it default.

Then you need to make two other roles. These roles need to be named exactly tickers-red & tickers-green. Do not check the Display role members seperatly from other online members option for these roles, but do assign colors to these roles, red and green (or whatever color you want to represent gain/loss) respectively.

The last two roles tickers-green and tickers-red need to be below the first role in the role list in your server settings. You should then add all your ticker bots to the first role.

roles example

Using the binary

Pull down the latest release for your OS here.

wget https://github.com/rssnyder/discord-stock-ticker/releases/download/v2.0.0/discord-stock-ticker-v3.3.0-linux-amd64.tar.gz

tar zxf discord-stock-ticker-v3.3.0-linux-amd64.tar.gz

./discord-stock-ticker

Setting options

There are options you can set for the service using flags:

  -address="localhost:8080": address:port to bind http server to.
  -cache=false: enable cache for coingecko
  -db="": file to store tickers in
  -frequency=0: set frequency for all tickers
  -logLevel=0: defines the log level. 0=production builds. 1=dev builds.
  -redisAddress="localhost:6379": address:port for redis server.
  -redisDB=0: redis db to use
  -redisPassword="": redis password

Systemd service

The script here (ran as root) will download and install a discord-stock-ticker service on your linux machine with an API avalible on port 8080 to manage bots.

wget https://github.com/rssnyder/discord-stock-ticker/releases/download/v3.3.0/discord-stock-ticker-v3.3.0-linux-amd64.tar.gz

tar zxf discord-stock-ticker-v3.3.0-linux-amd64.tar.gz

mkdir -p /etc/discord-stock-ticker

mv discord-stock-ticker /etc/discord-stock-ticker/

wget https://raw.githubusercontent.com/rssnyder/discord-stock-ticker/master/discord-stock-ticker.service

mv discord-stock-ticker.service /etc/systemd/system/

systemctl daemon-reload

systemctl start discord-stock-ticker.service

If you need to make modifications to the setting of the service, just edit the /etc/systemd/system/discord-stock-ticker.service file on the line with ExecStart=.

Now that you have the service running, you can add bots using the API exposed on the addres and port that the service runs on (this address is shown when you start the service).

Stock and Crypto Price Tickers

List current running bots

curl localhost:8080/ticker

Add a new bot

Stock Payload:

{
  "ticker": "pfg",                                  # string: symbol for the stock from yahoo finance
  "name": "2) PFG",                                 # string/OPTIONAL: overwrites display name of bot
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "decorator": "@",                                 # string/OPTIONAL: what to show instead of arrows
  "currency": "aud",                                # string/OPTIONAL: alternative curreny
  "activity": "Hello;Its;Me",                       # string/OPTIONAL: list of strings to show in activity section
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "twelve_data_key": "xxx",                         # string/OPTIONAL: use twelve data as source, pass in api key
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Crypto Payload:

{
  "name": "bitcoin",                                # string: name of the crypto from coingecko
  "crypto": true,                                   # bool: always true for crypto
  "ticker": "1) BTC",                               # string/OPTIONAL: overwrites display name of bot
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "decorator": "@",                                 # string/OPTIONAL: what to show instead of arrows
  "currency": "aud",                                # string/OPTIONAL: alternative curreny
  "currency_symbol": "AUD",                         # string/OPTIONAL: alternative curreny symbol
  "pair": "binancecoin",                            # string/OPTIONAL: pair the coin with another coin, replaces activity section
  "pair_flip": true,                                # bool/OPTIONAL: show <pair>/<coin> rather than <coin>/<pair>
  "activity": "Hello;Its;Me",                       # string/OPTIONAL: list of strings to show in activity section
  "decimals": 3,                                    # int/OPTIONAL: set number of decimal places
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "ticker": "pfg",
  "name": "PFG",
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxxx"
}' localhost:8080/ticker

Restart a bot

curl -X PATCH localhost:8080/ticker/pfg
curl -X PATCH localhost:8080/ticker/bitcoin

Remove a bot

curl -X DELETE localhost:8080/ticker/pfg
curl -X DELETE localhost:8080/ticker/bitcoin

Crypto Market Cap

List current running bots

curl localhost:8080/marketcap

Add a new bot

{
  "name": "bitcoin",                                # string: name of the crypto from coingecko
  "ticker": "1) BTC",                               # string/OPTIONAL: overwrites display name of bot
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "decorator": "@",                                 # string/OPTIONAL: what to show instead of arrows
  "currency": "aud",                                # string/OPTIONAL: alternative curreny
  "currency_symbol": "AUD",                         # string/OPTIONAL: alternative curreny symbol
  "activity": "Hello;Its;Me",                       # string/OPTIONAL: list of strings to show in activity section
  "decimals": 3,                                    # int/OPTIONAL: set number of decimal places
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "name": "bitcoin",
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxxx"
}' localhost:8080/marketcap

Restart a bot

curl -X PATCH localhost:8080/marketcap/bitcoin

Remove a bot

curl -X DELETE localhost:8080/marketcap/bitcoin

Stock and Crypto Price Tickerboards

Tickerboards are tickers that rotate though several stocks or cryptos. This bot is a newer release, and is not as stable as the rest of the bots.

BOARDS

List current running Boards

curl localhost:8080/tickerboard

Add a new Board

Stock Payload:

{
  "name": "Stocks",                                 # string: name of your board
  "items": ["PFG", "GME", "AMC"],                   # list of strings: symbols from yahoo finance to rotate through
  "header": "1. ",                                  # string/OPTIONAL: adds a header to the nickname to help sort bots
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "arrows": true,                                   # bool/OPTIONAL: show arrows in ticker names
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Crypto Payload:

{
  "name": "Cryptos",                                # string: name of your board
  "crypto": true,                                   # bool: always true for crypto
  "items": ["bitcoin", "ethereum", "dogecoin"],     # list of strings: names from coingecko to rotate through
  "header": "2. ",                                  # string/OPTIONAL: adds a header to the nickname to help sort bots
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "arrows": true,                                   # bool/OPTIONAL: show arrows in ticker names
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "name": "Stocks",
  "frequency": 3,
  "set_nickname": true,
  "set_color": true,
  "percentage": true,
  "arrows": true,
  "discord_bot_token": "xxxxxxx",
  "items": ["PFG", "GME", "AMC"]
}' localhost:8080/tickerboard

Restart a Board

curl -X PATCH localhost:8080/tickerboard/stocks

Remove a Board

curl -X DELETE localhost:8080/tickerboard/stocks

Ethereum, BSC, and Polygon Gas Prices

These bots shows the current recommended gas prices for three types of transactions. You can choose either the ethereum, binance smart chain, or polygon blockchain.

image

List current running Gas

curl localhost:8080/gas

Add a new Gas

Payload:

{
  "network": "ethereum",                            # string: one of: ethereum, binance-smart-chain, or polygon
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "network": "polygon",
  "frequency": 3,
  "set_nickname": true,
  "discord_bot_token": "xxxxxxx"
}' localhost:8080/gas

Restart a Gas

curl -X PATCH localhost:8080/gas/polygon

Remove a Gas

curl -X DELETE localhost:8080/gas/polygon

Ethereum, BSC, or Polygon Token Holders

This bot lists the number of addresses that hold a particular token. You can choose from the ethereum or binance smart chain blockchains.

HOLDERS

List current running Holders

curl localhost:8080/holders

Add a new Holder

Payload:

{
  "network": "ethereum",                            # string: one of: ethereum, binance-smart-chain, or polygon
  "address": "0x00000000000000000000000000",        # string: address of contract for token
  "activity": "ethereum",                           # string: text to show in activity section of the bot
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "network": "ethereum",
  "address": "0x00000000000000",
  "activity": "Holders of MyToken",
  "set_nickname": true,
  "frequency": 120,
  "discord_bot_token": "xxxxxxx"
}' localhost:8080/holders

Restart a Holder

curl -X PATCH localhost:8080/holders/ethereum-0x00000000000000

Remove a Holder

curl -X DELETE localhost:8080/holders/ethereum-0x00000000000000

ETH/BSC/MATIC Token Price

This bot gets the current rate for a given token. You can choose another token to pair with on price, or by default USDC is used. You can choose either the ethereum, binance smart chain, or polygon blockchain.

List current running Tokens

curl localhost:8080/token

Add a new Token

Payload:

{
  "network": "ethereum",                            # string: network of token, options are ethereum, binance-smart-chain, or polygon
  "name": "my token",                               # string: display name of token
  "contract": "0x00000",                            # string: contract address of token
  "currency": "0x00000",                            # string/OPTIONAL: contract address of token to price against, default is USDC
  "set_nickname": true,                             # bool/OPTIONAL: display information in nickname vs activity
  "set_color": true,                                # bool/OPTIONAL: requires set_nickname
  "decorator": "@",                                 # string/OPTIONAL: what to show instead of arrows
  "activity": "Hello;Its;Me",                       # string/OPTIONAL: list of strings to show in activity section
  "source": "pancakeswap",                          # string/OPTIONAL: if the token is a BSC token, you can set pancakeswap here to use it vs 1inch; you can also set dexlab for solana tokens
  "frequency": 10,                                  # int/OPTIONAL: seconds between refresh
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx"   # string: dicord bot token
}

Example:

curl -X POST -H "Content-Type: application/json" --data '{
  "network": "polygon",
  "contract": "0x0000000",
  "frequency": 3,
  "set_nickname": true,
  "discord_bot_token": "xxxxxxx"
}' localhost:8080/token

Restart a Token

curl -X PATCH localhost:8080/token/polygon-0x0000000

Remove a Token

curl -X DELETE localhost:8080/token/polygon-0x0000000

Kubernetes

Thanks to @jr0dd there is a helm chart for deploying to k8s clusters. His chart can be found here

You can also use a simple deployment file:

apiVersion: apps/v1
kind: Deployment
metadata:
  creationTimestamp: null
  labels:
    environment: public
  name: ticker-cardano
spec:
  replicas: 1
  selector:
    matchLabels:
      environment: public
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        environment: public
    spec:
      containers:
        - env:
            - name: CRYPTO_NAME
              value: cardano
            - name: DISCORD_BOT_TOKEN
              value: xxxxxxxxxxxxxxxxxxxxxx
            - name: FREQUENCY
              value: "1"
            - name: SET_COLOR
              value: "1"
            - name: SET_NICKNAME
              value: "1"
            - name: TICKER
              value: ADA
            - name: TZ
              value: America/Chicago
          image: ghcr.io/rssnyder/discord-stock-ticker:1.8.1
          name: ticker-cardano
          resources: {}
      restartPolicy: Always
status: {}

Louie

Since you have read this far, here is a picture of Louie at his favorite park:

PXL_20210424_185951005 PORTRAIT

Comments
  • Save ticker on db

    Save ticker on db

    I'm currently still learning linux so I'm not that familiar yet. I wanted to ask how will i add the -db setting so that I can save the tickers that I created.

    I use this btw and I'm using a vps

    wget https://github.com/rssnyder/discord-stock-ticker/releases/download/v3.3.0/discord-stock-ticker-v3.3.0-linux-amd64.tar.gz
    
    tar zxf discord-stock-ticker-v3.3.0-linux-amd64.tar.gz
    
    mkdir -p /etc/discord-stock-ticker
    
    mv discord-stock-ticker /etc/discord-stock-ticker/
    
    wget https://raw.githubusercontent.com/rssnyder/discord-stock-ticker/master/discord-stock-ticker.service
    
    mv discord-stock-ticker.service /etc/systemd/system/
    
    systemctl daemon-reload
    
    systemctl start discord-stock-ticker.service
    
  • Create new bot failed

    Create new bot failed

    Hi, I follow "Self-Hosting - Binary" procedure but I have a problem to create a new bot. When I call my curl "curl -X POST -H "Content-type: application/json" -d @test.json localhost:8080/crypto" I have 404 page not found.

    The service is on because when I stop it with "systemctl stop discord-stock-ticker.service" I have "Failed to connect to localhost port 8080: Connection refused" error.

    What is my error? :) Thanks

  • [HELP] loading previous tickers without redis server?

    [HELP] loading previous tickers without redis server?

    As the title suggests, is there a way to load or save previously set tickers?

    I always need to re-configure the tickers whenever I reboot my VPS. I saw the "-db" feature but don't actually know how the feature works.

    I am currently running CENTOS 7 as my Operating System.

  • [BUG] curl localhost:9090/tickerboard is providing empty page

    [BUG] curl localhost:9090/tickerboard is providing empty page

    Describe the bug When running curl localhost:9090/tickerboard you get only " { } " as result

    To Reproduce Steps to reproduce the behavior:

    1. launch a bot ticker using Docker
    2. Bot is running on Discord
    3. Above command gives that result

    Expected behaviour a list of tickers running

  • can't update color and nickname[BUG]

    can't update color and nickname[BUG]

    Describe the bug A clear and concise description of what the bug is. i'm trying to add a new bot , however the result output shows false for both attributes.

    image

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behaviour A clear and concise description of what you expected to happen.

    Python (please complete the following information):

    • Version: [e.g. 3.8]
    • OS [e.g. linux, windows]

    Additional context Add any other context about the problem here.

  • Works but slow!

    Works but slow!

    Hello the bots are great, simple & easy! However, its custom status market price doesn't change often. : ( Im aware its name changes only once an hour due to discords restrictions, but the custom status seems to get hung up a lot (as much as 30 minutes behind real time prices). Would self hosting it make it better?

    Anyways people in my server love the bots keep at it!!

  • Zapper API Key configuration

    Zapper API Key configuration

    Not sure when this stopped working but the Gas price ticker no longer works with the Zapper API, to make it work you must request new API key from them: Zapper Api Keys This change also includes slight change in the Zapper API call.

    Configuration file used for testing:

    {
      "ticker": "ETH Gas Price",
      "network": "ethereum",
      "nickname": true,
      "frequency": 600,
      "discord_bot_token": "YOUR_DISCORD_BOT_TOKEN"
    }
    
  • Is it possibile to have the same endpoint pointing two different bots?

    Is it possibile to have the same endpoint pointing two different bots?

    First of all, many thanks for this beauty.

    I would love to display BTC price on two different servers.

    It seems at the moment is not possible, without creating a new instance on a new port.

    Something like this would be amazin:

    curl -X POST -H "Content-Type: application/json" --data '{
      "name": "bitcoin",
      "crypto": true,
      "set_nickname": true,
      "frequency": 10,
      "discord_bot_token": [TOKEN_1, TOKEN_2]
    }' localhost:8080/ticker
    
  • [BUG] Unable to add any ticker

    [BUG] Unable to add any ticker

    Hey, I installed latest version 3.7.2. When calling basic ticker function, I get an error: root@name1:~/discord-stock-ticker# ./discord-stock-ticker INFO[0000] Running discord-stock-ticker version v3.7.2... WARN[0000] Will not be storing state. INFO[0000] Starting api server on 0.0.0.0:8080... INFO[0002] Added crypto: ethereum panic: non-positive interval for NewTicker

    goroutine 21 [running]: time.NewTicker(0x0, 0x64) /usr/local/go/src/time/tick.go:24 +0x151 main.(*Ticker).watchCryptoPrice(0xc0001ae2d0) /home/riley/go/src/github.com/rssnyder/discord-stock-ticker/ticker.go:487 +0xb51 created by main.(*Ticker).Start /home/riley/go/src/github.com/rssnyder/discord-stock-ticker/ticker.go:95 +0x3f

    This is basic ticker function I called: curl -X POST -H "Content-Type: application/json" --data '{ "name": "ethereum", "crypto": true, "set_nickname": true, "discord_bot_token": "my bot token" }' localhost:8080/ticker

    I disabled FW to make sure its not connection issue, same issue.

  • [NEW STOCK] ETFM (FOMO CORP.)

    [NEW STOCK] ETFM (FOMO CORP.)

    Hello,

    I would appreciate it if you add our stock symbol to your bot as we find it very useful for our shareholders in our Discord server. The one caveat would be we are changing our ticker symbol fairly soon to possibly IGOT. Thanks in advance!

    FOMO Corp Logo

  • Magic eden floor price ticker returns `Bad data` error

    Magic eden floor price ticker returns `Bad data` error

    Describe the bug

    Thanks for the amazing tool! I just saw in the codebase that you also included support for collections found on Magic Eden:

    https://github.com/rssnyder/discord-stock-ticker/blob/92c6092bfc64ae03516e2069a68bb2140ee647ed/utils/floor.go#L11-L16

    Unfortunately, when I try to use this feature, I get the following error:

    INFO[0000] Running discord-stock-ticker version development...
    WARN[0000] Will not be storing state.
    INFO[0000] Starting api server on 0.0.0.0:8080...
    DEBU[0003] Got an API request to add a ticker
    INFO[0003] Added ticker: floor
    INFO[0004] Watching stock price for floor
    DEBU[0014] Fetching stock price for lily
    ERRO[0014] Yahoo returned bad data for lily
    

    As I couldn't find this feature in the documentation,, I wondered if it is already released.

    To Reproduce Steps to reproduce the behaviour:

    1. Clone the repository or run the docker container.
    2. Save the following bot JSON file as lily_fp.json in the bots folder:
    {
      "ticker": "floor",
      "marketplace": "magiceden",
      "name": "lily",
      "nickname": true,
      "frequency": 10,
      "discord_bot_token": "<BOT_TOKEN>"
    }
    
    1. Create a bot, as explained in https://www.youtube.com/watch?v=LhgCdtE8kmc.
    2. Add the bot token to the JSON file.
    3. Start the discord-stock-ticker ./discord-stock-ticker -logLevel 1.
    4. Post the floor price bot curl -X POST -H "Content-type: application/json" -d @bots/lily_fp.json localhost:8080/ticker.
    5. See error.

    Expected behaviour The bot should successfully update according to the collection floor price.

    Python (please complete the following information):

    • Version: 3.8.10
    • OS: Ubuntu 20.04 and docker
  • feat: add scientific format to token ticker

    feat: add scientific format to token ticker

    This commit adds the ability to use the scientific format to the token ticker. This feature can be enabled by setting the Decimals parameter to -1. I only added this to the token ticker since I was not sure if you also wanted this applied to the other tickers.

  • Change floor activity to watch instead of streaming

    Change floor activity to watch instead of streaming

    This PR uses the new UpdateWatchStatus of https://github.com/bwmarrin/discordgo/pull/1291 to set the activity to watching instead of streaming. It follows up on #180.

    image

    Warning This PR contains a feature of discordgo that has not yet been released please merge after https://github.com/bwmarrin/discordgo/pull/1291 has been released.

  • [BUG] Ticker stop update

    [BUG] Ticker stop update

    I have a ticker bot self hosted and from yesterday bot update is stuck.

    This is json properties file:

    {
      "name": "star-atlas-dao",
      "crypto": true,
      "ticker": "Polis",
      "color": true,
      "decimals": 4,
      "nickname": true,
      "frequency": 10,
      "discord_bot_token": "xxx"
    }
    
    

    I have tryied to restart

    
    systemctl stop discord-stock-ticker.service
    
    systemctl start discord-stock-ticker.service
    
    root@faccio-un-sacco-di-cose-SAI:~# curl -X POST -H "Content-type: application/json" -d @polis.json localhost:8080/ticker
    {"ticker":"Polis","name":"star-atlas-dao","nickname":true,"frequency":10,"color":true,"decorator":"","currency":"usd","currency_symbol":"$","decimals":4,"activity":"","pair":"","pair_flip":false,"multiplier":1,"client_id":"935892618250948618","crypto":true,"discord_bot_token":"xxx":"","exrate":0}
    
    

    but nothing happen. what am I doing wrong?

    Thanks

Discord-notif - Send notifications to discord in Your pipelines or scripts
Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

Dec 15, 2022
This bot keeps information about your crypto wallet.

Telegram bot @crypto_wallet_gobot This bot writes to database information about your cryptocurrencies. Functions: add currency(example: btc) amount(ex

Jan 12, 2022
discord bot that plays music in a voice channel discord

Music discord bot by serje3 Description A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built an

Nov 17, 2021
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
Discord-dl: a tool to archive discord channels

discord-dl discord-dl is a tool to archive discord channels. I think it's safe t

May 18, 2022
Discord-finder - The back-end for retrieving information about people on discord
Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Jan 4, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022
Wipe-discord - TUI application to erase Discord messages
Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

Aug 21, 2022
Buy crypto low/Sell high on Binance. Simple, powerful configuration, trade multiple assets simultaneously, single binary deployment with no external dependencies!

bnc-trading-bot Download the latest release for your OS This bot automatically trades crypto / fiat assets on Binance.com according to simple, configu

Dec 14, 2022
Crypto Telegram Bot For Golang

BITCOIN-TELEGRAM-BOT Table of Contents Getting Started What you will need Installation Add BTB to your Telegram Channel Usage Getting started What you

Jun 6, 2022
Crypto signal trading bot

Crypto-signal-trading-bot Firstly a warning This project has the ability to spen

Dec 15, 2022
its the same idea as bruh-bot, but with golang, and add more bots
its the same idea as bruh-bot, but with golang, and add more bots

bruh-bot but more powerful! requirements python go you can used on mac and linux the idea its really simple, can make a lot of bots with the same task

Jul 7, 2021
Flexible message router add-on for go-telegram-bot-api library.
Flexible message router add-on for go-telegram-bot-api library.

telemux Flexible message router add-on for go-telegram-bot-api library. Table of contents Motivation Features Minimal example Documentation Changelog

Oct 24, 2022
Discord bot to check the metas of your OnChainMonkey

ocm-meta-discord-bot Unofficial Discord bot to check the metas of your OnChainMonkey. Permissions Requires the following permissions to work on Discor

Nov 20, 2021
Domo is a Discord bot to help you manage your FOMO (fear of missing out).

domo domo is a Discord bot to help you manage your FOMO (fear of missing out). Development Download and install Go: Instructions To run the bot first

Jan 4, 2022
RaunchBot brings you the latest Raunchy content straight to your favorite Discord server.

RaunchBot RaunchBot brings you the latest Raunchy content straight to your favorite Discord server. Development: Compile and run the project. TOKEN=ab

Jan 22, 2022
RaunchBot brings you the latest Raunchy content straight to your favorite Discord server.

RedditBot RedditBot brings you the latest Raunchy content straight to your favorite Discord server. Get RedditBot in your discord here. Bot Commands:

Jan 22, 2022
Show when you're out and about on a Boosted board on your Discord RPC

boosted-rpc Show when you're out an about on a Boosted board on your Discord RPC I use this with the Ride app for iOS and the IFTTT integration. Effec

Jul 24, 2022
manage your authorized_keys with discord.

discord_ssh manage your authorized_keys with discord. ⚠️ warning anyone with send message permissions in the channel you use can add new keys should i

Apr 16, 2023