Destructuring is Nice

This commit is contained in:
Daniel Odendahl Jr
2017-04-11 03:51:10 +00:00
parent f9835fee98
commit bcaa91c367
104 changed files with 265 additions and 265 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
const commando = require('discord.js-commando');
const { Command } = require('discord.js-commando');
String.prototype.shuffle = function() {
let a = this.split(''),
@@ -12,7 +12,7 @@ String.prototype.shuffle = function() {
return a.join('');
};
module.exports = class ShuffleCommand extends commando.Command {
module.exports = class ShuffleCommand extends Command {
constructor(client) {
super(client, {
name: 'shuffle',