mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
Cleverbot won't reply if a game is going on
This commit is contained in:
@@ -185,6 +185,7 @@ client.on('message', async msg => {
|
||||
if (msg.author.bot || (!hasText && !hasImage && !hasEmbed)) return;
|
||||
if (client.blacklist.user.includes(msg.author.id)) return;
|
||||
if (msg.isCommand && msg.channel.type !== 'dm') return;
|
||||
if (client.games.has(msg.channel.id)) return;
|
||||
|
||||
// Cleverbot handler
|
||||
const cleverbot = client.cleverbots.get(msg.channel.id);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "134.3.0",
|
||||
"version": "134.3.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user