Skip to content

Commit 3145731

Browse files
authored
All intents, readme (#63)
1 parent e14281e commit 3145731

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# **DISCORD ADVERTISEMENT FRAMEWORK (BOT) - DAF**
2-
![PyPI - Downloads](https://img.shields.io/pypi/dm/discord-advert-framework?style=for-the-badge)
3-
4-
![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/davidhozic/discord-advertisement-framework?style=for-the-badge)
2+
![PyPI](https://img.shields.io/pypi/v/discord-advert-framework?color=green&style=for-the-badge)
3+
[![PyPI - Downloads](https://img.shields.io/pypi/dm/discord-advert-framework?style=for-the-badge)](https://pypi.org/project/Discord-Advert-Framework/)
4+
[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/davidhozic/discord-advertisement-framework?style=for-the-badge)](https://www.codefactor.io/repository/github/davidhozic/discord-advertisement-framework)
55

66
The Discord advertisement framework is a tool that allows easy advertising on Discord.
77

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
__metadata__ = \
1111
{
12-
"version" : "1.7.9",
12+
"version" : "1.7.9-1",
1313
"requirements" : ["aiohttp>=3.6.0,<3.9.0", "PyNaCl"],
1414
"minimum_py_version" : "3.8",
1515
}

src/framework/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ def initialize(token: str, *,
6565
The function initializes Pycord, the discord API wrapper.
6666
"""
6767
global m_client
68-
intents = discord.Intents.default()
69-
intents.members = True # Needed for direct messages
68+
intents = discord.Intents.all()
7069
m_client = CLIENT(intents=intents)
7170
if not bot:
7271
trace("Bot is an user account which is against discord's ToS",TraceLEVELS.WARNING)

0 commit comments

Comments
 (0)