Skip to content

suhridmathur/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Discord Bot

This bot is created using discord's libraries for searching over google & persisting history for lookup.

Technologies Used:

  • Python3.8
  • Redis
  • MySQL

Installation:

Install Python Dependencies:

sudo apt install python3-dev 

Clone the repository using:

git@github.com:suhridmathur/discord-bot.git

Create environment and install python packages:

virtualenv -p python3.8 env
pip install -r requirementst.txt

Export the following envirnment variables in bashrc:

  • BOT_TOKEN
  • BOT_DB_URI
  • GOOGLE_SEARCH_API_KEY
  • GOOGLE_SEARCH_CX

Run server:

python bot.py

About

This is a discord bot which can do some basic stuff like fetching data from google, storing your search history etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages