Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ghrlt/qfbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

29 Commits

Repository files navigation

QFBot - Instagram Quoi->Feur bot

License: GPL v3

This bot is THE boss at words play/puns

Usage

If you wanna use your own instance of the bot, see #installation

First, follow @ghrlt.qfbot ;) Then, if you want to use it in a group, add the bot to it - If you are not french, I recommend switching from default lang (fr πŸ‡«πŸ‡·) to your
To do so, you can send /setlang en to the bot.

-> If sent in dm, your default language will be modified
-> If sent in a group, the group chat default language will be modified
If no language is set for a group, it will either use your set language if one else fr πŸ‡«πŸ‡·

Once the bot is in your group, just chat! When the bot found a message on which he can make a pun, the bot will instantly reply with the pun!

Installation

If using linux, you must install python-dev before! Replace 3.10 with your python version (must be >3.6)

sudo apt update
sudo apt install python3.10-dev
git clone https://github.com/ghrlt/qfbot.git
cd qfbot
pip install -r requirements.txt

Once there, you can configure your credentials (else you will be prompted them). Open .env file

ig-username=your_ig_username
ig-password=your_ig_password

Then you can run the bot!

python3 app.py

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /