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) { 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) { if (!ctx.args.length) {
const commands = [ const commands = [
[ [

View file

@ -55,7 +55,7 @@ module.exports = class ServerInfo extends Command {
true true
) )
.addField('Region', ctx.utils.emotes.regions[ctx.guild.region] || ctx.guild.region, 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) { if (ctx.guild.vanityURLCode) {
Embed.addField( Embed.addField(
'Vanity URL', 'Vanity URL',

View file

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

View file

@ -43,13 +43,13 @@ module.exports = class nHold extends Command {
let req; let req;
let Message; let Message;
await yiff.furrybot.nsfw.hold().then((E) => (req = E)); await yiff.sheri.nsfw.hold().then((E) => (req = E));
if (Settings.embeds) { if (Settings.embeds) {
Message = new MessageEmbed() Message = new MessageEmbed()
.setColor(ctx.config.color) .setColor(ctx.config.color)
.setImage(req) .setImage(req.url)
.setFooter(`${ctx.client.user.username} - Provided by furry.bot`, ctx.client.user.avatarURL()); .setFooter(`${ctx.client.user.username} - Provided by sheri.bot`, ctx.client.user.avatarURL());
if (Line) { if (Line) {
Message.setDescription(Line); Message.setDescription(Line);
} }