IsTheChainHalted-Discord-Bot is a Discord Bot that shows whether the Namada chain is halted or not.
It also shows:
- the last block height
- the last epoch
- when the chain was halted
The chain statistics are provided by https://isthechainhalted.today. When linking to the website in Discord, the status of the chain will be embedded.
Copy or clone the repository.
Install the required Node.js packages with npm i
.
Register a new Discord application: https://discord.com/developers/applications
Get a token
from the Bot tab and store it in config.json. Keep it secret at all cost!
Get the clientId
from the OAuth2 tab and store it in config.json.
guildId
in config.json is not used at this time.
Create an invite link with the OAuth2 URL Generator on the OAuth2 tab. Only the bot
scope is necessary, without any permissions.
Run the bot with npm start
.
The progression of the block height during the Shielded Expedition.