detritusjs / client-socket Goto Github PK
View Code? Open in Web Editor NEWA pure-Typescript library to interact with Discord's Gateway
License: MIT License
A pure-Typescript library to interact with Discord's Gateway
License: MIT License
Since about 3 hours ago the content field for packets has been comming through as content: '',
on all packets. I'm still getting other fields including quoted content. But the main message content is missing on all packets.
Initally I thought it could be a dependacy update as it started after a new build was deployed on my server, although ive reverted to prior builds and it hasn't resolved it.
Would really appreciate any advice as to how I could remedy this. Thanks a lot.
this.packet
{
t: 'MESSAGE_CREATE',
s: 13,
op: 0,
d: {
webhook_id: '1234',
type: 0,
tts: false,
timestamp: '2021 pinned: false,
mentions: [],
mention_roles: [],
mention_everyone: false,
id: '1234',
flags: 0,
embeds: [],
edited_timestamp: null,
content: '', <---
components: [],
channel_id: '1233',
author: {
username: 'GitHub',
id: '000000',
discriminator: '0000',
bot: true,
avatar: 'kjsdhflkjsdhalfh'
},
attachments: [],
guild_id: '12334'
}
}
I been trying to figure out how I would stream a video using this lib.
I see there is some sort of video streaming supported in the source
Hey,
First of all great work, I've been really enjoying this library. Thank you!!
Would it be possible to add support for 'is typing...' so that I can listen for that event.
EG when a member is typing it shows up on the bottom of the client.
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.