Compare commits
2 commits
9debca0e05
...
190d690d03
Author | SHA1 | Date | |
---|---|---|---|
|
190d690d03 | ||
|
7f10c52bb6 |
4 changed files with 10 additions and 5 deletions
|
@ -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 = [
|
||||
[
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -43,13 +43,13 @@ module.exports = class nHold extends Command {
|
|||
|
||||
let req;
|
||||
let Message;
|
||||
await yiff.furrybot.nsfw.hold().then((E) => (req = E));
|
||||
await yiff.sheri.nsfw.hold().then((E) => (req = E));
|
||||
|
||||
if (Settings.embeds) {
|
||||
Message = new MessageEmbed()
|
||||
.setColor(ctx.config.color)
|
||||
.setImage(req)
|
||||
.setFooter(`${ctx.client.user.username} - Provided by furry.bot`, ctx.client.user.avatarURL());
|
||||
.setImage(req.url)
|
||||
.setFooter(`${ctx.client.user.username} - Provided by sheri.bot`, ctx.client.user.avatarURL());
|
||||
if (Line) {
|
||||
Message.setDescription(Line);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue