Fix hardcoded name
This commit is contained in:
parent
3c5676b786
commit
9cb4800dc8
|
@ -136,7 +136,7 @@ class CryptoWallet(ModuleBase):
|
||||||
# Create a transaction
|
# Create a transaction
|
||||||
txn = client.send(walletname, withdrawaddr, withdrawamount)
|
txn = client.send(walletname, withdrawaddr, withdrawamount)
|
||||||
if txn:
|
if txn:
|
||||||
self.bot.act_PRIVMSG(prefix.nick, ".withdraw: %s DOGE sent to %s. Transaction ID: %s"% (withdrawamount, withdrawaddr, txn))
|
self.bot.act_PRIVMSG(prefix.nick, ".withdraw: %s %s sent to %s. Transaction ID: %s"% (withdrawamount, client.name, withdrawaddr, txn))
|
||||||
else:
|
else:
|
||||||
self.bot.act_PRIVMSG(prefix.nick, ".withdraw: Transaction create failed. Maybe the transaction was too large for the network? Try a smaller increment.")
|
self.bot.act_PRIVMSG(prefix.nick, ".withdraw: Transaction create failed. Maybe the transaction was too large for the network? Try a smaller increment.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue