I can grammar me swear

This commit is contained in:
Daniel Odendahl Jr
2018-02-17 22:28:30 +00:00
parent e88a85f1af
commit 85706a395e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = class AddPortalChannelCommand extends Command {
run(msg, { channel }) {
if (channel.type !== 'text') return msg.reply('Only text channels can have a portal!');
const channels = this.client.provider.get('global', 'portals', []);
if (channels.includes(channel.id)) return msg.reply(`${channel} is already has an open portal!`);
if (channels.includes(channel.id)) return msg.reply(`${channel} already has an open portal!`);
channels.push(channel.id);
this.client.provider.set('global', 'portals', channels);
return msg.say(`A portal opened in ${channel}!`);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "65.0.0",
"version": "65.0.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {