diff --git a/src/cmds/regulamin.js b/src/cmds/regulamin.js new file mode 100644 index 0000000..c1cb48d --- /dev/null +++ b/src/cmds/regulamin.js @@ -0,0 +1,17 @@ +module.exports = { + name: 'regulamin', + execute(cl, msg) { + const embed = { + color: cl.cfg.hexBlue, + timestamp: new Date(), + footer: { + text: `Komenda wywołana przez ${msg.author.tag}`, + icon_url: cl.cfg.iconurl, + }, + title: 'Regulamin', + description: 'Regulamin naszego serwera składa się z tego, co następuje:', + fields: cl.cfg.embedFields.regulamin, + }; + msg.channel.send({ embeds: [embed] }); + }, +};