- Go 94.3%
- Dockerfile 3.4%
- Makefile 2.3%
| .github | ||
| utils | ||
| .gitignore | ||
| _config.yml | ||
| discord-matic-ticker.service | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| manager.go | ||
| README.md | ||
| token.go | ||
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.
Preview
Join the discord server
Support this project
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!
Related Projects
This project was created as a fork from my main discord-stock-ticker project
Premium
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

