Skip to content

Plugins #42

Description

@bigsby-exe

Don't suppose anyone knows what is wrong with this

// Test

exports.onMessage = function(msg, dobby) {
    var terms = msg.split(" ");
    var command = terms.shift();
    terms = terms.join(" ");

    if (command == '.test2') {
        dobby.client_from.get_uid(function(err, uid) {
            if (uid == 'USERS UID') {
                dobby.client.private_message("yes")
            } else {
                dobby.respond("no")
                return;
            }
        }
    }

any and all help is very much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions