Returns the current up time and ping time from the discord server.
Install the node module in your bot project root directory: (if you don't have a bot yet see https://autobots.rocks)
npm install @autobot/module-ping
Add the prefix to your .env
file:
PING_PREFIX=!ping
Command | Description |
---|---|
!ping |
Returns ping time and uptime of the bot. |