You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,12 @@ add this to the `.env` file
14
14
```
15
15
API_KEY =your_openai_api_key
16
16
TOKEN=discord_token
17
+
NEWS_API_KEY=news_api_key
17
18
```
18
19
you can create a discord bot and get you token at **https://discord.com/developers/applications**
19
20
for a openai API key visit **https://beta.openai.com/signup/**
21
+
for news visit **https://newsapi.org/**
22
+
> only Requests 1,000 are allowed per day
20
23
21
24
# Run
22
25
@@ -26,7 +29,6 @@ for a openai API key visit **https://beta.openai.com/signup/**
26
29
**Linux/Mac**
27
30
`python3 main.py`
28
31
29
-
30
32
# preview
31
33
[](https://raw.githubusercontent.com/forceCpp/openDiscordBot/main/preview/chat.mp4)
32
34
@@ -40,4 +42,7 @@ give the bot a <a href="https://discord.com/api/oauth2/authorize?client_id=1068
40
42
# issues
41
43
`$translate` does not work properly
42
44
43
-
`$play` you cant play soutube shorts and the bot wont disconnect automatically
45
+
`$play` you cant play soutube shorts and the bot wont disconnect automatically
46
+
47
+
# usage
48
+
you can use the `$doc` command for the documentation
0 commit comments