Discord bot for retrieving crypto prices and tickers at Kryptotekets discord.
- Create your own discord bot by following this guide.
- Copy your bot token and past it in AppSettings under token.
- You will also need to setup a local SQL database or a SQL database, and add the connectionstring to AppSettings under ConnectionStrings.
- From the terminal you should be able to run Update-Database and get all the database models into your database.
- Run the project in your favorite .net IDE.
!ticker <pair> <mx / nbx / bitmynt>
!price <pair> <mx / nbx>
!gainers <top> <1h / 24h / 7d / 14d / 30d / 200d / 1y>
!losers <top> <1h / 24h / 7d / 14d / 30d / 200d / 1y>
!graph <currency>
!covid <countrycode / countryName>
!reflink | get random reflink from pool
!getref <@user> | get reflink for user
!getrefs | get all reflinks
!addref <reflink> | add reflink to pool
!updateref <reflink> | update reflink
!deleteref | delete reflink
!approve <@user> | Approve reflink for user
!reject <@user> | Reject reflink for user
!bet <name> <price> | Bet on a named bet
!updatebet <name> <price> | Change your bet
!getbet <name> | Get all bets in a named bet
!addbet <name> <date> | Create a new named bet
!deletebet <name> | Delete bet
!serverinfo | Get serverinfo
!userinfo | Get userinfo
!help | Show all commands
!support | How to support me
These can be found under the Modules folder.
All crypto data is retrieved by public APIs at MiraiEx, CoinGecko, NBX and Bitmynt
Coronavirus Statistics is retrieved by public APIs at Disease.sh
Graphs are made by sparklines from CoinGecko and plottend into QuickChart
Pull requests are welcome, please discuss changes via Issues.