dappros/ethora

View on GitHub
bots/raffle/handlers/botInitiate.js

Summary

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

export const botInitiate = (data) => {
    console.log('=> botInitiate | Message received from ', data.userJID, data.message);

    return sendMessage(
        data,
        messages.raffleBotReplies.initiateBot,
        'message',
        false,
        0,
    );
}