Coder Social home page Coder Social logo

basic-discord-chatbot's Introduction

Basic-Discord-ChatBot

This is a more up to date and a bit faster version of the ChattyCathy bot that I have recoded.

Support Server

https://discord.gg/C2FJ8jF

Installing

Download the files for the bot.

Requirements:

  • Python 3.6 or higher
  • pip install aiml
  • Most up to date version of discord.py

Once you have the files and the requirements you need to create a file called std-startup.xml in that file insert the following and save it.

<aiml version="1.0.1" encoding="UTF-8">
    <!-- std-startup.xml -->

    <!-- Category is an atomic AIML unit -->
    <category>

        <!-- Pattern to match in user input -->
        <!-- If user enters "LOAD AIML B" -->
        <pattern>LOAD AIML B</pattern>

        <!-- Template is the response to the pattern -->
        <!-- This learn an aiml file -->
        <template>
            <learn>./aiml/*/*</learn>
            <!-- All aiml files are relative to the run dir and must be subdirs,
                 E.g. ./aiml/alice/one.aiml, ./aiml/custom/mine.aiml -->

        </template>

    </category>

</aiml>

Once that is complete go into the bot.py and change the token AND channel_name to your own things. After you have changed that simply start the bot with python bot.py or however your version of python allows you to execute files.

basic-discord-chatbot's People

Contributors

avincodes avatar jared-galyan 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.