Skip to content

📄 index.js #72

Description

@gebezin7o

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions