fixing broken things uwu

This commit is contained in:
monty 2019-11-20 18:05:10 +01:00
parent 5adbaf0218
commit 7f10c52bb6
4 changed files with 10 additions and 5 deletions

View file

@ -15,6 +15,11 @@ module.exports = class Help extends Command {
}
async command(ctx) {
console.log(ctx.args);
let silent = [ '--nd', '--no-dev' ];
if (ctx.args.includes(silent)) {
console.log('is silent');
}
if (!ctx.args.length) {
const commands = [
[

View file

@ -55,7 +55,7 @@ module.exports = class ServerInfo extends Command {
true
)
.addField('Region', ctx.utils.emotes.regions[ctx.guild.region] || ctx.guild.region, true)
.addField('Features', features.join(' **|** '));
.addField('Features', features.join(' **|** ') || 'None');
if (ctx.guild.vanityURLCode) {
Embed.addField(
'Vanity URL',

View file

@ -42,7 +42,7 @@ module.exports = class Userinfo extends Command {
Roles.push(`<@&${role[0]}>`);
}
Embed.setTitle(`Info on ${User.nickname}`)
Embed.setTitle(`Info on ${User.nickname || User.user.username}`)
.setColor(ctx.config.color)
.addField('Username', User.user.tag, true)
.addField('ID', User.user.id, true)