All Projects → claabs → markov-discord

claabs / markov-discord

Licence: other
A Markov chain Discord chat bot. Generates unique messages by learning from past messages. Also occasionally attaches images to messages.

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to markov-discord

Discord-Bot-TypeScript-Template
Discord bot - A discord.js bot template written with TypeScript.
Stars: ✭ 86 (+145.71%)
Mutual labels:  discord-bot, discord-js
delet
[DEPRECATED - see README.md] a Discord bot made using Discord.js
Stars: ✭ 46 (+31.43%)
Mutual labels:  discord-bot, discord-js
TundraBot
All-in-one Discord bot
Stars: ✭ 49 (+40%)
Mutual labels:  discord-bot, discord-js
ModMail
Discord ModMail Bot
Stars: ✭ 44 (+25.71%)
Mutual labels:  discord-bot, discord-js
CustomDCBot
Create your own discord bot - Fully customizable and with a lot of features
Stars: ✭ 15 (-57.14%)
Mutual labels:  discord-bot, discord-js
lecashbot
A Discord.js economy bot based on the NitroType currency made with JavaScript.
Stars: ✭ 18 (-48.57%)
Mutual labels:  discord-bot, discord-js
horace
discord.js bot powering the Knights of Academia server with commands like info, AFK, and more
Stars: ✭ 25 (-28.57%)
Mutual labels:  discord-bot, discord-js
NSFW-Bot
NSFW Bot is an open-source discord bot that has nsfw commands with the nekobot.xyz api.
Stars: ✭ 43 (+22.86%)
Mutual labels:  discord-bot, discord-js
deejay-stereo
Discord music bot built using djs v13, discord-player. Slash Commands only bot
Stars: ✭ 42 (+20%)
Mutual labels:  discord-bot, discord-js
Discord-Selfbot
Discord.js selfbot
Stars: ✭ 24 (-31.43%)
Mutual labels:  discord-bot, discord-js
Komugari
A simple, multi-functional Discord bot written in Discord.js
Stars: ✭ 39 (+11.43%)
Mutual labels:  discord-bot, discord-js
discord-lavalink-music-bot
This is music bot for discord made with erelajs, lavalink, discordjs v13-dev
Stars: ✭ 34 (-2.86%)
Mutual labels:  discord-bot, discord-js
Nereus
A multipurpose discord bot with a focus on music written using Discord.js
Stars: ✭ 46 (+31.43%)
Mutual labels:  discord-bot, discord-js
Discord-multipurpose-bot
A repository with JavaScript and Python versions of the same type of discord commands.
Stars: ✭ 27 (-22.86%)
Mutual labels:  discord-bot, discord-js
SataniaBot
The most devilish bot for Discord!
Stars: ✭ 20 (-42.86%)
Mutual labels:  discord-bot, discord-js
AntiScam-Bot
Discord bot written on discord.js, deletes messages with scam links.
Stars: ✭ 16 (-54.29%)
Mutual labels:  discord-bot, discord-js
Kato-Bot
discord bot
Stars: ✭ 51 (+45.71%)
Mutual labels:  discord-bot, discord-js
lavamusic
lavalink music bot base in erela.js and discord.js v13
Stars: ✭ 210 (+500%)
Mutual labels:  discord-bot, discord-js
Kalopsia-Bot
♠️ A Powerful Open-Source Discord,js (v13) Bot written in JavaScript with many moderation, fun, economy, music, utility commands ♠️
Stars: ✭ 60 (+71.43%)
Mutual labels:  discord-bot, discord-js
Discord-Spammer
Advanced Discord Spammer with multiple options and optional proxys
Stars: ✭ 51 (+45.71%)
Mutual labels:  discord-bot, discord-js

MarkBot for Discord

A Markov chain bot using markov-strings.

Usage

  1. Configure what channels you want the bot to listen/learn from:
    • User: /listen modify
    • Bot: Select which channels your would like the bot to actively listen to
  2. Train the bot in a lengthy text channel:
    • User: /train
    • Bot: Parsing past messages from 5 channel(s).
  3. Ask the bot to say something:
    • User: /mark
    • Bot: worms are not baby snakes, by the way

Setup

This bot stores your Discord server's entire message history, so a public instance to invite to your server is not available due to obvious data privacy concerns. Instead, you can host it yourself.

  1. Create a Discord bot application
  2. Under the "Bot" section, enable the "Message Content Intent", and copy the token for later.
  3. Setup and configure the bot using one of the below methods:

Docker

Running this bot in Docker is the easiest way to ensure it runs as expected and can easily recieve updates.

  1. Install Docker for your OS

  2. Open a command prompt and run:

    docker run --restart unless-stopped --rm -ti -v /my/host/dir:/usr/app/config ghcr.io/claabs/markov-discord:latest

    Where /my/host/dir is a accessible path on your system. --restart=unless-stopped is recommended in case an unexpected error crashes the bot.

  3. The Docker container will create a default config file in your mounted volume (/my/host/dir). Open it and add your bot token. You may change any other values to your liking as well. Details for each configuration item can be found here: https://claabs.github.io/markov-discord/classes/AppConfig.html

  4. Run the container again and use the invite link printed to the logs.

Windows

  1. Install Node.js 16 or newer.

  2. Download this repository using git in a command prompt

    git clone https://github.com/claabs/markov-discord.git

    or by just downloading and extracting the project zip from GitHub.

  3. Open a command prompt in the markov-discord folder.

    # NPM install non-development packages
    npm ci
    # Build the Typescript
    npm run build
    # Initialize the config
    npm start
  4. The program will create a config/config.json in the project folder. Open it and add your bot token. You may change any other values to your liking as well. Details for each configuration item can be found here: https://claabs.github.io/markov-discord/classes/AppConfig.html

  5. Run the bot:

    npm start

    And use the invite link printed to the logs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].