File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ async def connect(
158158 self .options ["headers" ] = {"User-Agent" : self .http .req ._headers ["User-Agent" ]}
159159 url = await self .http .get_gateway ()
160160
161- async with self .http ._req ._session .ws_connect (url + "?v=10" , ** self .options ) as self .session :
161+ async with self .http ._req ._session .ws_connect (url , ** self .options ) as self .session :
162162 while not self .closed :
163163 stream = await self .recv ()
164164
Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ class Intents(IntFlag):
1919 DIRECT_MESSAGES = 1 << 12
2020 DIRECT_MESSAGE_REACTIONS = 1 << 13
2121 DIRECT_MESSAGE_TYPING = 1 << 14
22+ GUILD_MESSAGE_CONTENT = 1 << 15
2223 GUILD_SCHEDULED_EVENTS = 1 << 16
2324
24- PRIVILEGED = GUILD_PRESENCES | GUILD_MEMBERS
25+ PRIVILEGED = GUILD_PRESENCES | GUILD_MEMBERS | GUILD_MESSAGE_CONTENT
2526 DEFAULT = (
2627 GUILDS
2728 | GUILD_BANS
You can’t perform that action at this time.
0 commit comments