dappros/ethora

View on GitHub
bots/merchantBot/handlers/test.js

Summary

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

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