Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.75 KB

File metadata and controls

53 lines (38 loc) · 1.75 KB

Install

you need to have python and ffmpeg installed

git clone https://github.com/forceCpp/openDiscordBot.git
cd  openDiscordBot
pip install -r requirements.txt

setup

add this to the .env file

if you cant find the .env file it might be hidded

API_KEY =your_openai_api_key
TOKEN=discord_token
NEWS_API_KEY=news_api_key
OPEN_WEATHER_KEY=open_weather_key

you can create a discord bot and get you token at https://discord.com/developers/applications for a openai API key visit https://beta.openai.com/signup/ for news api visit https://newsapi.org/

only Requests 1,000 are allowed per day for the news api

for the open weather API key visit https://openweathermap.org/appid

Run

Windows python main.py

Linux/Mac python3 main.py

preview

Watch the video

Watch the video

try

give the bot a try

https://discord.com/api/oauth2/authorize?client_id=1068497688628305970&permissions=8&scope=bot

issues

$translate does not work properly

$play you cant play soutube shorts and the bot wont disconnect automatically

usage

you can use the $doc command for the documentation

all other information is hier available