Giter VIP home page Giter VIP logo

discord-chatbot-gpt4free's Introduction

Preview

image

Gpt4Free-Chat-bot ๐Ÿค–

This is a Python-based Discord bot using the discord.py library. The bot responds to messages, can change its profile picture, and provide latency information. Additionally, it uses the theb library from GPT4FREE (Its now removed btw) for generating responses based on conversation history.

Features ๐Ÿฅณ

  • Responds to messages in direct messages only
  • Changes its profile picture with the !pfp command.
  • Provides latency information with the !ping command.
  • Changes its username with the !changeusr command.

Steps to install and run ๐Ÿšฉ :

Step 1. git clone repository

git clone https://github.com/mishalhossin/Discord-Chatbot-Gpt4Free

Step 2. change directory to cloned directory

cd Discord-Chatbot-Gpt4Free

Step 3. Getting discord bot token and enabling intents from here

Select application

image

Enable intents

image

Get the token !!!

image

Step 4. Create a .env file it will look like this:

DISCORD_TOKEN=token_from_step_3

image

Step 5. Install all the dependencies

Windows:

py pip install -r requirements.txt

Linux :

pip3 install -r requirements.txt

Step 6.Run the bot

Windows

py main.py

Linux

python main.py

Step 7. Invite your bot and DM (Direct message) it | โš ๏ธ IMPORTANT

image

Volia

๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ FINISH LINE ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ๐Ÿ

Want something nsfw ? then check this out: SEX-GPT

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.