discord-matic-ticker

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

discord-matic-ticker

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL