Giter Site home page Giter Site logo

markov_thingy's Introduction

Markov_thingy

markov_thingy is a markov-chain discord bot maintained primarily by danielh2942 It allows you to train a markov chain off a given channel in your discord server. It was written for fun and is probably going to be maintained on a very ad-hoc basis

Features

  • Train a Markov bot off of discord messages sent to a channel
  • Weird youtube searches using the youtube API
  • Multiple server support

Tech

markov_thingy uses a number of open source projects to work properly:

  • Go - The Go programming language
  • DiscordGo - A discord library for the go programming language
  • google/uuid - Googles UUID library written in go,

And of course markov_thingy itself is open source.

Installation

markov_thingy requires Go 1.19 to run.

Install the dependencies

go mod tidy

Write your config file as such

{
    "Token":"Your Discord Token",
    "YoutubeAPIKey":"Your youtube API key",
    "Prefix":"Your prefix of choice",
    "Servers":{}
}

save it as config.json in the same directory as the executable and run!

Development

Want to contribute? Great!

Please submit patches to the dev branch with anything that you think would contribute nicely to the bot :)

Please attach the pre-commit hook in .githooks before you add anything to the repo!

(It uses gofmt so install that too.)

Contact

If you need to get in touch with me contact me on discord or by email

Discord: notdanhan#3199

Email: [email protected]

Thanks and have fun!

markov_thingy's People

Contributors

notdanhan avatar

Stargazers

 avatar Ahmed Tounsi avatar Sami Haq avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.