forked from snxraven/LinkUp-P2P-Chat
Up to date fork #1
@ -12,7 +12,7 @@ if (fs.existsSync(agentAvatarPath)) {
|
||||
}
|
||||
|
||||
export default async function handleCommand(command, context) {
|
||||
const { eventEmitter, currentTopic, clearMessages, addMessage, joinRoom, leaveRoom } = context;
|
||||
const { eventEmitter, currentTopic, clearMessagesCMD, addMessage, joinRoom, leaveRoom } = context;
|
||||
|
||||
const args = command.trim().split(' ');
|
||||
const cmd = args[0].toLowerCase();
|
||||
|
Loading…
Reference in New Issue
Block a user