add .regulamin cmd

This commit is contained in:
2021-09-28 21:02:35 +02:00
parent 36eba7e0f2
commit a73bd60373

17
src/cmds/regulamin.js Normal file
View File

@@ -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] });
},
};