GithubHelp home page GithubHelp logo

misakichatbot's Introduction

About

A fun telegram userbot written in python3 using Intellivoid's Coffeehouse API. Originally written by this person! Reworked by t.me/dank_as_fuck ([email protected])

Installation

Open up your terminal and run these commands. Deploy

git clone https://github.com/Dank-del/MisakiChatbot.git

cd MisakiChatbot

pip install -r requirements.txt

• Now make a copy of sample_config.ini and rename it to config.ini and enter your api_id and api_hash. These can be obtained from here.

Two possible ways of going forward

You can either use environment variables or edit the config.ini file further.

If you're going to use environment variables, then add a variable named ENV and set the value to anything you want. Now you can use environment variables.

Add the following ones as well.

CF_API_KEY: You can get this API key from here.

DATABASE_URL: The URL of your SQL database. It should look something like this - sqldbtype://username:pw@hostname:port/db_name. PostgreSQL is recommended.

NAME: Your bot will reply to the AI-enabled users everytime this name is said.

However, if you're gonna use config.ini, go ahead and set the values given above with the exception of ENV.

Running the bot

After setting the required environment variables/editing the config.ini file, run python3 -m chatbot.

Congrats, your bot should now be up!

Credits

Intellivoid for providing the API used for this project.

pyrogram - the library used for this project.

misakichatbot's People

Contributors

reejit avatar fushinori avatar dank-del avatar hiddencrush 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.