aeristhy / Disboard-Custom-Response

Disboard Simple Custom Response

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disboard-Custom-Response

Just a simple DISBOARD Custom Response.

CopyPaste

    if (message.embeds.length && message.author.username == 'DISBOARD' && message.embeds[ 0 ].description.indexOf('Bump done') > -1) {
        message.delete();
        return message.channel.send('Thank you for bumping! Make sure to leave us a review (link your DISBOARD server)');
    } else {
        if (message.embeds.length && message.author.username == 'DISBOARD' && message.embeds[ 0 ].description.indexOf('Please wait another') > -1) {
            message.delete();
            return message.channel.send('Bump is not ready yet');
        }
    }

About

Disboard Simple Custom Response

License:MIT License


Languages

Language:JavaScript 100.0%