monreo -> monero

This commit is contained in:
Flummi 2017-09-21 17:15:23 +02:00
parent 07f7ab4f17
commit 1aed3bb746

View File

@ -14,7 +14,7 @@ class Coins(Plugin):
'eur': '',
'eth': 'Ξ',
'btc': '฿',
'monreo': 'xmr',
'xmr': 'xmr',
}
@command
@ -35,11 +35,11 @@ class Coins(Plugin):
@command
def xmr(self, mask: IrcString, target: IrcString, args: Dict):
"""Gets the Monreo values from cryptowatch.
"""Gets the Monero values from cryptowatch.
%%xmr [<currency>]
"""
return self.cryptowat_summary('monreo', 'bitfinex', args)
return self.cryptowat_summary('xmr', 'bitfinex', args)
def cryptowat_summary(self, crypto: str, market: str, args: Dict):
currency = args.get('<currency>', 'usd')