Spaces:
Paused
Paused
Download plugins/alive.js from levantermd/lyfe1: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/levantermd/lyfe1/resolve/main/plugins/alive.js
- Command line
-
hf download hf://spaces/levantermd/lyfe1/plugins/alive.js
-
curl -L -o alive.js https://huggingface.co/spaces/levantermd/lyfe1/resolve/main/plugins/alive.js
297 Bytes
| const { bot, aliveMessage } = require('../lib/') | |
| bot( | |
| { | |
| pattern: 'alive ?(.*)', | |
| desc: 'bot alive message', | |
| type: 'misc', | |
| }, | |
| async (message, match) => { | |
| const { msg, options, type } = await aliveMessage(match, message) | |
| return await message.send(msg, options, type) | |
| } | |
| ) | |