Download src/commands/postRules.js from APRKDEV/wsb-bot: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/APRKDEV/wsb-bot/resolve/c8f3880098432483b23491dd763585274d00f8c8/src/commands/postRules.js
- Command line
-
hf download hf://spaces/APRKDEV/wsb-bot@c8f3880098432483b23491dd763585274d00f8c8/src/commands/postRules.js
-
curl -L -o postRules.js https://huggingface.co/spaces/APRKDEV/wsb-bot/resolve/c8f3880098432483b23491dd763585274d00f8c8/src/commands/postRules.js
348 Bytes
| const { sendRulesEmbed } = require('../systems/embeds'); | |
| const { successEmbed } = require('../utils/embeds'); | |
| module.exports = { | |
| name: 'post rules', | |
| async execute(client, message) { | |
| await sendRulesEmbed(client); | |
| await message.reply({ embeds: [successEmbed('Rules Posted', 'Rules embed sent to πγ»rules')] }); | |
| }, | |
| }; | |