GoonerBuck / 8ball-energy

A friendly Discord bot to remind us that life is always better with a little :8ball::zap:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MitchBot

Add 🎱⚡ to your Discord server

Overview

This is a simple Discord bot that listens for specific messages. When it sees a trigger message, it responds with a random phrase from a list of strings. That's it... that's the repo.

Usage

1) Replace the trigger message

discordClient.on('message', msg => {
        if (msg.content === 'TRIGGER') {
            msg.channel.send(getRandomMitchism());
        }
    });

2) Set response strings

{
    "strings": [
        "You can add whatever you want here",
        "Lorem ipsum",
        "Et cetera"
    ]
}

3) Create a .env file and add your Discord BOT_TOKEN

BOT_TOKEN=<your token>

Acknowledgements

Special thanks to my friend Mitch for giving me permission to make this bot.

About

A friendly Discord bot to remind us that life is always better with a little :8ball::zap:


Languages

Language:JavaScript 100.0%