Skip to content

Discord bot for the Halo Platform that incorporates internal and external APIs from HaloDEX, Halo Explorer, Halo Masternodes DApp, CoinMarketCap.com, Etherscan.io etc. Wanna try it out? If you are on Discord, why not check it out here: https://discord.gg/5Z7ZqeJ

License

alien45/halo-info-bot

Repository files navigation

Halo Info Bot

Intro

Discord bot for the Halo Platform that incorporates internal and external APIs from HaloDEX, Halo Explorer, Halo Masternodes DApp, CoinMarketCap.com, Etherscan.io etc.

Wanna try it out? If you are on Discord, why not check it out here: https://discord.gg/5Z7ZqeJ

Halo Info Bot has been added to Halo Platform discord server

Check it out here: https://discord.gg/zCXW3uj

Supported Commands

!address [action] [address1] [address2...]:

  • Add, remove and get list of saved addresses.
  • Example:
    • !addresses
    • !addresses add 0x1234
    • !addresses remove 0x1234
  • Private command. Only available by PMing the bot.

!alert <type> [action]:

  • Enable/disable automatic alerts. Alert types: payout. Actions:on, off, status, send. Only root user can use 'send' to trigger payout alert manually.
  • Example:
    • !alert payout on
    • !alert payout status

!balance <address> [ticker]:

  • Check your account balance. Supported addresses/chains: HALO & ETH. Address keywords: 'reward-pool', 'charity', 'h-eth', 'dex-halo'. If no address supplied, the first item of user's address book will be used. To get balance of a specific item from address book just type the index number of the address.
  • Example:
    • !balance 0x1234567890abcdef
    • !balance dex-halo
    • !balance
    • !balance 2 (for 2nd item in the address book)

!cmc <symbol>:

  • Fetch CoinMarketCap ticker information. Alternatively, use the ticker itself as command.
  • Example:
    • !cmc powr,
    • !cmc power ledger,
    • !powr (shorthand for '!cmc powr')

!dexbalance <address> [ticker1] [ticker2...]:

  • Shows user's HaloDEX balances. USE YOUR HALO CHAIN ADDRESS FOR ALL TOKEN BALANCES WITHIN DEX.
  • Example:
    • !dexbalance 0x123...
    • !dexbalance 0x123... ETH
  • Private command. Only available by PMing the bot.

!halo :

  • Get a digest of information about Halo including ticker info from DEX, reward pool and recent trades.

!help [command-name]:

  • Prints list of commands and supported arguments. If argument 'command' is provided will display detailed information about the command along with examples.
  • Example:
    • !help
    • !help balance

!mn :

  • Shows masternode collateral, reward pool balances, nodes distribution, last payout and ROI based on last payout.

!nodes <address> [address2] [address3....]:

  • Lists masternodes owned by a specific address. If no address supplied, will use user's first address book item when available.
  • Example:
    • !nodes 0x1234
    • !nodes
    • !nodes 0x123 0x324 0x234
  • Private command. Only available by PMing the bot.

!orders [quote-ticker] [base-ticker] [limit] [address]:

  • Get HaloDEX orders by user address. If no address supplied, will use user's first address book item when available.
  • Example:
    • !orders halo eth 10 0x1234567890abcdef
    • !orders
    • !orders vet eth
  • Private command. Only available by PMing the bot.

!ticker [quote-ticker] [base-ticker]:

  • Get ticker information from HaloDEX.
  • Example:
    • !ticker
    • !ticker vet
    • !ticker dbet eth

!tokens [ticker]:

  • Lists all tokens supported on HaloDEX
  • Example:
    • !tokens
    • !tokens halo

!trades [quote-symbol] [base-symbol] [limit]:

  • Recent trades from HaloDEX
  • Example:
    • !trades halo eth 10
    • !trades eth halo
    • !trades

<argument> => required
[argument] => optional
{argument} => indicates exact value

Defaults where applicable:
--Base ticker => ETH
--Quote ticker => Halo
--Address(es) => first/all item(s) saved on address book, if avaiable

About

Discord bot for the Halo Platform that incorporates internal and external APIs from HaloDEX, Halo Explorer, Halo Masternodes DApp, CoinMarketCap.com, Etherscan.io etc. Wanna try it out? If you are on Discord, why not check it out here: https://discord.gg/5Z7ZqeJ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published