dappros/ethora

View on GitHub
bots/translateBot/handlers/userLimit.js

Summary

Maintainability
A
1 hr
Test Coverage
import {sendMessage} from "../actions.js";
import messages from "../config/messages.js";

export const userLimitHandler = (data) => {
    console.log('=> Message received from ', data.userJID, data.message);
    sendMessage(
        data,
        messages.exampleBotMessage.userLimit,
        'message',
        false,
        0,
    );
}