BochilGaming / games-wabot

Games-wabot is RPG Bot Whatsapp. Now support Multi-device!!, check branch multi-device
http://bochil.ddns.net/
GNU General Public License v3.0
208 stars 507 forks source link

[MD] [Log Error] v.replace is not a function #387

Closed DineshValor closed 1 year ago

DineshValor commented 1 year ago

Screenshot_20220726-152851

Steps to get this error:

  1. Add one or more number in 'global.mods' or 'global.prems' in config.js https://github.com/BochilGaming/games-wabot/blob/1cb3003c072e0c0d569be6d68f84a424ebe298f1/config.js#L11 https://github.com/BochilGaming/games-wabot/blob/1cb3003c072e0c0d569be6d68f84a424ebe298f1/config.js#L12

  2. Now Error triggered.

  3. Except bot number, no other user able to use bot command and give log error v.replace is not function. It's act like self mode 😓.

BochilGaming commented 1 year ago

maybe you fill it with the wrong format?. in the global.mods and global.prems must be an array with string

DineshValor commented 1 year ago

maybe you fill it with the wrong format?. in the global.mods and global.prems must be an array with string

Screenshot_20220729-152710 Format which i used is shown in attached screenshot.

BochilGaming commented 1 year ago

maybe you fill it with the wrong format?. in the global.mods and global.prems must be an array with string

Screenshot_20220729-152710 Format which i used is shown in attached screenshot.

global.mods = ['numberxxxx', 'number2xxx'] for global.prems same as global.mods

DineshValor commented 1 year ago

Okay.