Giter Site home page Giter Site logo

imnotjahan / seldiscordchatbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 158 KB

Discord chatbot written in python intended to immitate Lain from SEL.

Home Page: https://discordbotlist.com/bots/lain

License: GNU General Public License v3.0

Python 100.00%
chatbot chatterbot discord-bot discord-py lain

seldiscordchatbot's Introduction

SELDiscordChatbot

Discord chatbot written in python intended to imitate Lain from SEL.

Features

  • The more people talk to it, the better its conversing gets
  • Easy to add specific dialog to it, look here
  • Let's all love Lain

Setting up

The chatterbot and discord.py libraries are required

You need to create a config.ini file too include your discord bot token in, with the following format:

[Tokens]
discordToken = <token>
dblToken = [token]
discordsToken = [token]
botsggToken = [token]
topggToken = [token]

[Settings]
prefix = <prefix>
databaseURI = <string>
postStatsToDBL = <bool>
postStatsToDiscords = <bool>
postStatsToBotsGG = <bool>
postStatsToTopGG = <bool>
voteWebhooks = <bool>

Run train.py and then run main.py and it will start Afterwards all you need to start it is run main.py

Adding conversations

To add custom conversations to it, edit the corpus/custom.yml file and append conversations to the end like this:

- - First line
  - Second line
  - Etc.

You need to edit train.py so that the only option in bot.train is "corpus.custom" and then run train.py

You could just run train.py without editing it, but it'll reinforce the other dialogs making the custom dialog rarer

seldiscordchatbot's People

Contributors

imnotjahan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

seldiscordchatbot's Issues

The Lain bot isn't verified :(

As I said, the Lain bot isn't verified and it doesn't let me add it to my server, and I really want to use it, I really hope you can do something about it.

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.