Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Interactions #1210

Closed
wants to merge 207 commits into from
Closed

Support Interactions #1210

wants to merge 207 commits into from

Conversation

JustCat80
Copy link
Contributor

@JustCat80 JustCat80 commented May 30, 2021

Moved to #1280

lib/Client.js Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
JustCat80 and others added 7 commits September 23, 2021 10:10
Add support for interaction type APPLICATION_COMMAND_AUTOCOMPLETE (4)
add unknown to ComponentInteraction data
fix InteractionContent
add acknowledge to UnknownInteraction (is just createInteractionResponse)
@JustCat80
Copy link
Contributor Author

Added AutocompleteInteraction, there arent any actual docs or anything for it beyond this so please, lmk if you find anything thats off :)

index.d.ts Outdated Show resolved Hide resolved
* start

* remove this unknown garbage
lib/Constants.js Outdated Show resolved Hide resolved
Co-authored-by: Avocado <[email protected]>
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
JustCat80 and others added 5 commits October 2, 2021 11:09
Co-authored-by: Reinhardt <[email protected]>
Co-authored-by: Reinhardt <[email protected]>
Because explaining it is meh, direct em here instead :3
@Kopymatic
Copy link

Kopymatic commented Oct 3, 2021

I get the following error any time the bot sees a slash command

TypeError: Cannot read property 'members' of undefined
    at new Message (C:\snapshot\Funnyman\node_modules\eris\lib\structures\Message.js:110:47)
    at Shard.wsEvent (C:\snapshot\Funnyman\node_modules\eris\lib\gateway\Shard.js:851:48)
    at Shard.onPacket (C:\snapshot\Funnyman\node_modules\eris\lib\gateway\Shard.js:401:26)
    at Shard._onWSMessage (C:\snapshot\Funnyman\node_modules\eris\lib\gateway\Shard.js:2445:29)
    at WebSocket.emit (node:events:394:28)
    at Receiver.receiverOnMessage (C:\snapshot\Funnyman\node_modules\eris\node_modules\ws\lib\websocket.js:978:20)
    at Receiver.emit (node:events:394:28)
    at Receiver.dataMessage (C:\snapshot\Funnyman\node_modules\eris\node_modules\ws\lib\receiver.js:517:14)
    at Receiver.getData (C:\snapshot\Funnyman\node_modules\eris\node_modules\ws\lib\receiver.js:435:17)
    at Receiver.startLoop (C:\snapshot\Funnyman\node_modules\eris\node_modules\ws\lib\receiver.js:143:22)

It doesnt have to be a slash command to the bot, just seeing any slash command response throws it. Is this a known issue?
Edit: According to Flammableassassin in the Eris discord, it appears to be from it trying to add a member to the guild cache

@JustCat80
Copy link
Contributor Author

Recreating for hacktober

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.