Skip to content

Instantly share code, notes, and snippets.

Avatar

Didier faultydev

View GitHub Profile
@faultydev
faultydev / cmd.js
Created Mar 11, 2021
new command for xbot/xbot_lite
View cmd.js
const Discord = require('discord.js');
const env = require('dotenv');
const exp = require('../../exports');
const config = require("../../utils/global.json");
module.exports.run = async (bot, message, args) => {
//code for command
}
//name this whatever the command name is.
View gist:001e92b37bc3498b8c09d5be8a53e300
### Keybase proof
I hereby claim:
* I am faultydev on github.
* I am faultyone (https://keybase.io/faultyone) on keybase.
* I have a public key ASBZwjqWo4wHfhS29Em_rKkpo_pUSG3_s8lxS2_Ctae7vQo
To claim this, I am signing this object: