Skip to content

A Sopel IRC bot plugin for converting various fiat/cryptocurrencies

License

Notifications You must be signed in to change notification settings

dowodenum/sopel-currencyconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

sopel-currencyconverter

A Sopel IRC bot plugin for converting various fiat/cryptocurrencies.

Setup

cd "~/.sopel/plugins/"
wget https://raw.githubusercontent.com/dowodenum/sopel-currencyconverter/main/currencyconverter.py
pip3 install requests

Configuration

Add the following block in your sopel config file (~/.sopel/default.cfg by default), replacing with your key:

[currencyconverter]
  apiKey = D34DB33FF33D

Usage

From any channel the bot is in, or via privmsg (adjust from . to your bot's configured prefix):

<you> .help val
<bot> e.g. .val 1 BTC [to] USD
<you> .val 1 USD to CAD
<bot> you: 1.33 CAD
<you> .val 10 vef TO usd
<bot> you: 5E-11 USD
<you> .val 1 btc usd
<bot> you: 42069.69 USD
<you> .val 1 sat usd
<bot> you: 0.00041 USD
<you> .val 100 sats usd
<bot> you: 0.04 USD
<you> .val 4.20 usd sats
<bot> you: 9983.43 sats

Thanks to NMC

About

A Sopel IRC bot plugin for converting various fiat/cryptocurrencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages