furry and gay added + Code fixes

This commit is contained in:
Lucas Gabriel 2024-05-31 17:40:29 -03:00
parent 419575ebf7
commit 009881efc2
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
5 changed files with 56 additions and 4 deletions

View file

@ -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;