From 393ed555e7acbffaab6a8304aa45ffe9efbe0c3f Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 9 Sep 2017 15:02:32 +0000 Subject: [PATCH] Categories --- commands/guild-info/channel-info.js | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/guild-info/channel-info.js b/commands/guild-info/channel-info.js index a302db8e..c7f5dca6 100644 --- a/commands/guild-info/channel-info.js +++ b/commands/guild-info/channel-info.js @@ -32,6 +32,8 @@ module.exports = class ChannelInfoCommand extends Command { channel.id, true) .addField('❯ NSFW', channel.nsfw ? 'Yes' : 'No', true) + .addField('❯ Category', + channel.parent ? channel.parent.name : 'None', true) .addField('❯ Creation Date', channel.createdAt.toDateString(), true) .addField('❯ Topic', diff --git a/package.json b/package.json index b9996195..8838874a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "38.0.1", + "version": "38.0.2", "description": "Your personal server companion.", "main": "Shard.js", "scripts": { @@ -34,7 +34,7 @@ "canvas": "github:automattic/node-canvas", "common-tags": "^1.4.0", "custom-translate": "github:dragonfire535/custom-translate", - "discord.js": "github:dragonfire535/discord.js#patch", + "discord.js": "github:hydrabolt/discord.js", "discord.js-commando": "github:gawdl3y/discord.js-commando", "erlpack": "github:hammerandchisel/erlpack", "node-opus": "^0.2.6",