No description
  • Go 94.3%
  • Dockerfile 3.4%
  • Makefile 2.3%
Find a file
2021-07-16 14:58:38 -05:00
.github inital work 2021-06-23 16:04:48 -05:00
utils inital work 2021-06-23 16:04:48 -05:00
.gitignore inital work 2021-06-23 16:04:48 -05:00
_config.yml inital work 2021-06-23 16:04:48 -05:00
discord-matic-ticker.service inital work 2021-06-23 16:04:48 -05:00
Dockerfile inital work 2021-06-23 16:04:48 -05:00
go.mod inital work 2021-06-23 16:04:48 -05:00
go.sum inital work 2021-06-23 16:04:48 -05:00
LICENSE inital work 2021-06-23 16:04:48 -05:00
main.go inital work 2021-06-23 16:04:48 -05:00
Makefile inital work 2021-06-23 16:04:48 -05:00
manager.go inital work 2021-06-23 16:04:48 -05:00
README.md Update README.md 2021-07-16 14:58:38 -05:00
token.go inital work 2021-06-23 16:04:48 -05:00

discord-matic-ticker

⚠️This project has been merged with discord stock tickers.⚠️

Live matic tickers for your discord server.

This repo is a clone/redo of another project of mine. The documentation here might not be the best, and if you need further help please join the support server linked below.

Releases MIT License

GitHub last commit GitHub stars GitHub watchers

Preview

Discord Sidebar w/ Bots

Join the discord server

Discord Chat

Support this project

Buy Me a Coffee

Love these bots? You can support this project by subscribing to the premium version or maybe buy me a coffee or hire me to write/host your discord bot!

This project was created as a fork from my main discord-stock-ticker project

Premium

Discord Sidebar w/ Premium Bots

For advanced features like faster update times and color changing names on price changes you can subscribe to my premuim offering. I will host individual instances for your discord server at a cost of $1 per bot per month. You can choose a mix of cryptos and stocks and cancel at any time.

If you wish to host your bots on your own hardware, but need help getting set up, I also offer setup services for $20. I will install the service on your hardware and set you up with my internal tools to help manage your instances. This requires a running linux server.

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

Running in a simple shell

Pull down the latest release for your OS here.

wget https://github.com/rssnyder/discord-matic-ticker/releases/download/v0.1.0/discord-matic-ticker-v0.1.0-linux-amd64.tar.gz

tar zxf discord-matic-ticker-v2.0.0-linux-amd64.tar.gz

./discord-matic-ticker

Systemd service

The below script (ran as root) will download and install a discrod-matic-ticker service on your linux machine with the API avalible on port 8080 to manage bots.

wget https://github.com/rssnyder/discord-matic-ticker/releases/download/v2.2.0/discord-matic-ticker-v2.2.0-linux-amd64.tar.gz

tar zxf discord-matic-ticker-v2.2.0-linux-amd64.tar.gz

mkdir -p /etc/discord-matic-ticker

mv discord-matic-ticker /etc/discord-matic-ticker/

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

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

systemctl daemon-reload

systemctl start discord-matic-ticker.service

Adding multiple bots

A new feature in v2 is having one instance of the discord-matic-ticker manage multiple bots for different matics and cryptos.

To add another bot to your instance, you need to use the API exposed on port 8080 of the host you are running on:

List current running bots

curl localhost:8080/ticker

Add a new bot

Matic Payload:

{
  "contract": "0x0000000000000000",
  "discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx",
  "name": "XDO",  # string/OPTIONAL: overwrites display name of bot
  "frequency": 10,  # int/OPTIONAL: default 60
  "set_nickname": true,  # bool/OPTIONAL
}

Remove a bot

curl -X DELETE localhost:8080/ticker/0x0000000000000000

Support

If you have a request for a new ticker or issues with a current one, please open a github issue or find me on discord at jonesbooned#1111 or join the support server.

Love these bots? Maybe buy me a coffee! Or send some crypto to help keep these bots running:

eth: 0x27B6896cC68838bc8adE6407C8283a214ecD4ffE

doge: DTWkUvFakt12yUEssTbdCe2R7TepExBA2G

bch: qrnmprfh5e77lzdpalczdu839uhvrravlvfr5nwupr

btc: 1N84bLSVKPZBHKYjHp8QtvPgRJfRbtNKHQ