Skip to content

A discord.js clone but with some addons

License

Notifications You must be signed in to change notification settings

Neovenchy/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: "status",
    aliases: ['status','bot-status'],
    ownerOnly: true
  }, message=>{
    message.channel.send(`CHANGE BOT STATUS...`)
  });
client.command({
  name: ""
})
client.command({
    name: "members",
    aliases: ["users", "member", "الأعضاء"]
  },
  msg => {
    Plugins.members(msg)
  })

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

Languages

  • JavaScript 100.0%