Skip to content

loekensgard/Kryptoteket-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Kryptoteket-crypto-bot

Discord bot for retrieving crypto prices and tickers at Kryptotekets discord.

Getting started

  1. Create your own discord bot by following this guide.
  2. Copy your bot token and past it in AppSettings under token.
  3. You will also need to setup a local SQL database or a SQL database, and add the connectionstring to AppSettings under ConnectionStrings.
  4. From the terminal you should be able to run Update-Database and get all the database models into your database.
  5. Run the project in your favorite .net IDE.

Discord commands

Crypto

!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-19

!covid <countrycode / countryName>

Reflink roulette

!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

Bets

!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

Info/Stats

!serverinfo                 | Get serverinfo
!userinfo                   | Get userinfo

Misc

!help                       | Show all commands
!support                    | How to support me

These can be found under the Modules folder.

Data

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

Contributing

Pull requests are welcome, please discuss changes via Issues.

Releases

No releases published

Packages

No packages published

Languages