Gamer Omega

Results 17 comments of Gamer Omega

The issue seems to be that std does not specify the protocol field by default, unlike node. The code actually returns ```js error: Uncaught TypeError: error sending request for url...

The exact same error occurs when using ```js import * as https from 'https://deno.land/[email protected]/node/https.ts'; const request = https.request({method: 'GET', host: 'discord.com', path: 'https://discord.com/api/v10/gateway', headers: {"User-Agent": "DiscordBot"}}); request.setTimeout(10000); request.end(); request.on('response', response...

Also, there is another bug if you will remove the setTimeout line, due to std having a different url parser. Node parses it properly.

> > Also, there is another bug if you will remove the setTimeout line, due to std having a different url parser. Node parses it properly. > > Can you...

you may aswell want to remove the hit property from Message, as it is meant for a user-only search feature

After some more testing, the issue appears only on this type of interaction. [email protected] (git+ssh://[email protected]/abalabahaha/eris.git#1a6e043331aea04de307a71d2e50e9680d1a5ae3)

> The issue is that Eris doesn't have a type for Modals yet, so it can't return an interaction of that type. See lib/structures/Interaction.js Why can't it just create a...

> There was supposed to be UnknownInteraction for this since the type of modal interaction differs. So it didn't work?

> This is bound to happen when you don't have a good network connection, as nodejs is single threaded But magically, on the exact same VPS, the exact same file...

> > This is bound to happen when you don't have a good network connection, as nodejs is single threaded > > Irrelevant, threaded I/O is a major selling point...