mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 10:56:55 -05:00
among us
This commit is contained in:
parent
532aea0550
commit
816aa16ec5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function inject(bot, dcclient, config) {
|
||||||
const username = _username.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
|
const username = _username.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
|
||||||
const message = _message.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
|
const message = _message.replace(/§[a-f0-9rlonmk]/g, '').replace(/§/g, '');
|
||||||
const sender = bot.playersAddedPlayers[username];
|
const sender = bot.playersAddedPlayers[username];
|
||||||
bot.command_handler.run(username, username, message, sender);
|
bot.command_handler.run(username, username, message, sender, channeldc, bot.hash, bot.ownerHash, username);
|
||||||
});
|
});
|
||||||
function handleDiscordMessages(message) {
|
function handleDiscordMessages(message) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue