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