Giter Club home page Giter Club logo

azerieffectsbot's Introduction

@Myinstantsbot

A Telegram bot written in Python that sends voice messages from http://www.myinstants.com.

Check it out: www.telegram.me/myinstantsbot

You can use it in any chat, try to use it by typing the command bellow and wait for the sounds to appear:

@myinstantsbot rick roll

Installing dependencies and running

Note: Before start you need to create a telegram bot and get a token, check the oficial documentation here:

https://core.telegram.org/bots

Run with Docker (Recommended)

To run this bot using Docker

docker build -t myinstantsbot .

docker run -t --name myinstantsbot \
              -e TELEGRAM_TOKEN='' \
              -e MYINSTANTS_USERNAME='' \
              -e MYINSTANTS_PASSWORD='' \
              myinstantsbot

Notes:

TELEGRAM_TOKEN='' needs to be replace with your bot token.

MYINSTANTS_USERNAME='' needs to be replaced with a myinstants.com username, in order to upload files

MYINSTANTS_PASSWORD='' needs to be replaced with a myinstants.com password, in order to upload files

Run without Docker

Install Dependencies (Only works in Python3)

Create a virtualenv (Optional):

mkdir ~/virtualenv
virtualenv -p python3 ~/virtualenv
source ~/virtualenv/bin/activate

Install the requirements (if you are in a virtualenv, "sudo" is not necessary):

sudo pip3 install -r requirements.txt

Running:

After all the requirements are installed you can run the bot using the command:

TELEGRAM_TOKEN=<YOUR BOT'S TOKEN> MYINSTANTS_USERNAME=<MYINSTANTS USERNAME> MYINSTANTS_PASSWORD=<MYINSTANTS PASSWORD> python3 myinstantsbot.py

If you have any questions let me know!

azerieffectsbot's People

Contributors

heylouiz avatar dependabot[bot] avatar

Watchers

whomiri 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.