Git Product home page Git Product logo

obiwankenobot's Introduction

Obi-Wan Kenobot

This is a chatbot that mimics Jedi Master Obi-Wan Kenobi from Star Wars episodes 1-3.

Obi-Wan Kenobi

Welcome!

Obi-Wan is the charismatic Jedi Master played by Ewan McGregor in the Star Wars prequel trilogy and features many iconic lines such as "Oh no. I'm not brave enough for politics" and "Sith Lords are our specialty." This bot aims to decipher as best it can the user's intention when speaking to it, and respond with a quote that corresponds to that intent. The bot initially started as only a chatbot, but with the release of 2.0 the bot now has other features as well! As of right now, the bot is only available on Discord.

Adding bot to your Discord server

This is the simplest part. Make sure you are an admin on whatever server you want to add it to and click this link here.

How it works

The model uses the tensorflow machine learning library to create a text classification model. It then categorizes the users input and sends out a random response for that category. To use the bot in your Discord server use the command:

ob!chat <message>

where <message> is replaced with the message you want to send

Other Features

  • ob!help
    • Displays all commands and what they do
  • ob!talk
    • Will join the channel the user is currently in and say a movie quote
  • ob!sjj <number of players>
    • Starts a game of secret jar jar
    • <number of players> is replaced with desired amount of players
      • Defaults to 5 which is the minimum
    • NOT FINISHED SO DOES NOTHING RIGHT NOW

Sources

The data file was created myself using quotes found from the scripts found here: https://imsdb.com/ .
Audio was taken from Youtube videos. The urls for those can be found in src/bot.py in the obitalk function.

Authors

Matt Anikiej

obiwankenobot's People

Contributors

mattanikiej avatar

Watchers

 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.