furry and gay added + Code fixes
This commit is contained in:
parent
419575ebf7
commit
009881efc2
5 changed files with 56 additions and 4 deletions
|
@ -13,20 +13,20 @@ module.exports = function(bot, msg) {
|
|||
isForumOutput = "This chat is a forum (has topics enabled)";
|
||||
} else {
|
||||
isForumOutput = "This chat is not a forum (doesn't have topics enabled)";
|
||||
}
|
||||
};
|
||||
|
||||
if (chatHandle) {
|
||||
chatHandleOutput = `Chat handle: @${chatHandle}`;
|
||||
} else {
|
||||
chatHandleOutput = `Chat handle: none (private group)`;
|
||||
}
|
||||
};
|
||||
|
||||
// if chatName returns undefined, the chat is not a group or channel
|
||||
if (chatName) {
|
||||
chatNameOutput = `Chat name: ${chatName}\n${chatHandleOutput}\nChat ID: ${chatId}\n\n${isForumOutput}`;
|
||||
} else {
|
||||
chatNameOutput = `Whoops!\nThis command doesn't work in PM.`
|
||||
}
|
||||
};
|
||||
|
||||
const message = chatNameOutput;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue