remove check cuz can't use bot when rainbowname on

This commit is contained in:
ChomeNS 2022-10-25 14:58:55 +07:00
parent 40113fc0d8
commit a2ad69634b

View file

@ -56,7 +56,6 @@ function inject(bot, dcclient) {
try {
const usernameraw = usernamee.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
const sender = bot.options.host === 'sus.shhnowisnottheti.me' && senderr !== '00000000-0000-0000-0000-000000000000' ? senderr : bot.playersAddedPlayers[usernameraw];
if (!sender) return;
const username = bot.getplayerusername[sender];
const message = messagee.replace(/* /§r/g */ /§[a-f0-9rlonmk]/g, '')/* .replace(/§/g, '')*/;
bot.command_handler.run(username, usernameraw, message, sender);