📄 index.js
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
const { Client, GatewayIntentBits, EmbedBuilder } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds]
});
client.once('ready', () => {
console.log('Bot online');
});
client.on('interactionCreate', async interaction => {
if (!interaction.isChatInputCommand()) return;
if (interaction.commandName === 'regras') {
const embed = new EmbedBuilder()
.setTitle('🦖 Regras — The Isle EVRIMA')
.setColor(0x2f3136)
.setDescription(
'**Semi-Realismo**\n\n' +
'• Respeito obrigatório\n' +
'• Dino tem valor\n' +
'• Sem cheats\n' +
'• Sem mixpack\n' +
'• Sem revenge kill\n'
)
.setFooter({ text: 'Servidor Semi-Realismo EVRIMA' });
await interaction.reply({ embeds: [embed] });
}
});
client.login(process.env.TOKEN);
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.