Skip to content

codes-server/codes.js

Repository files navigation

Codes.js

A discord.js clone but more simple and have more features.

Example usage:

const Client = require('codes.js');
const client = new Client(botToken, ['YOUR ID','OTHER ID'], '-');
//new Client(توكن بوتك, ['YOUR ID'], 'بريفكس بوتك')
client.start();
client.on('ready', () => {
  /* eslint-disable no-console */
  console.log(`${client.user.tag} is ready
OWNER: ${client.owner}`);
});

client.command({
    name: "ping",
    aliases: ['kpop', 'brok', 'pings', 'pong']
  },
  message => {
    message.channel.send('PONG!');
  });

client.command({
  name: "help",
  aliases: ["help", "مساعدة", "قائمة الأوامر", "commands"]
}, message => {
  message.channel.send(client.user.username + " Help list:\n")
})

About

A discord.js clone but with some addons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •