Sword
Sword copied to clipboard
Discord library for Swift
I did this with gitflow so please let me know if I need to redo something!
When creating a Sword instance in with the isBot option set to false and the token set to a user token, the login still fails. Can Sword not be used...
Hi! How can I host a discord swift sword bot on heroku I want it to run. I couldn't find a solution! What did you do? Thanks in advance!
I think it would be a good idea to add support for Objective-C(and Objective-C++) Because some(if not most) IOS/Mobile developers learned Objective-C(++) as their starting language for IOS development.
Condition: WiFi connected, but internet unreachable. Crashes in `Request.swift` line 125: ``` let task = self.session.dataTask(with: request) { [unowned self, unowned sema] data, response, error in let response = response...
When `Shard` reconnect. We need to reset ZLib context. I think we need to some work for `GatewayHandler` design. Example implementaiton: 246f2dd
`Sword.request` does not work at all. It need to use `/gateway/bot`. https://discordapp.com/developers/docs/topics/gateway#get-gateway-bot Example implementation: c3ff2ef
- It does not support binary WebSocket frames. It blocks to use transport-compression. - It lost WebSocket stream received early time sometimes. They are fixed by this PR. We need...
I have some questions about thread policy. ## question 1 What is purpose of this code ? https://github.com/Azoy/Sword/blob/19d7815cf499bb2b32055ef4cd74b7d0314b8ef5/Sources/Sword/Gateway/GatewayHandler.swift#L81-L89 `ws.wait()` blocks thread execution until this gateway connection close. So this code...
I have tried playing a youtube video with the Youtube struct and I even tried to just run the sample in the repo to see if it was something I...