metalang / dscord Goto Github PK
View Code? Open in Web Editor NEWThis project forked from b1naryth1ef/dscord
Discord Library for D
Home Page: http://b1naryth1ef.github.io/dscord/
License: zlib License
This project forked from b1naryth1ef/dscord
Discord Library for D
Home Page: http://b1naryth1ef.github.io/dscord/
License: zlib License
src\dscord\api\ratelimit.d(60,34): Error: none of the overloads of wait are callable using a non-shared object, candidates are:
C:\Users\Jared\AppData\Roaming\dub\packages\vibe-core-1.4.1\vibe-core\source\vibe\core\sync.d(985,6): vibe.core.sync.ManualEvent.wait()
C:\Users\Jared\AppData\Roaming\dub\packages\vibe-core-1.4.1\vibe-core\source\vibe\core\sync.d(994,6): vibe.core.sync.ManualEvent.wait(int emit_count)
C:\Users\Jared\AppData\Roaming\dub\packages\vibe-core-1.4.1\vibe-core\source\vibe\core\sync.d(996,6): vibe.core.sync.ManualEvent.wait(Duration timeout, int emit_count)
src\dscord\voice\youtubedl.d(70,23): Error: template instance `receiveOnlyCompat!string` template receiveOnlyCompat is not defined
src\dscord\voice\youtubedl.d(91,23): Error: template instance `receiveOnlyCompat!string` template receiveOnlyCompat is not defined
src\dscord\voice\youtubedl.d(121,21): Error: template instance `receiveOnlyCompat!(shared(ubyte[][]))` template receiveOnlyCompat is not defined
src\dscord\voice\client.d(160,18): Deprecation: vibe.core.core.ManualEvent is not visible from module client
src\dscord\voice\client.d(192,17): Deprecation: vibe.core.core.ManualEvent is not visible from module client
src\dscord\api\ratelimit.d(53,27): Deprecation: vibe.core.core.ManualEvent is not visible from module ratelimit
These deprecation messages are appearing due to changes to D's import rules. The listed modules need to import vibce.core.sync
.
src\dscord\voice\youtubedl.d(19,7): Error: no property sendCompat for type Task
src\dscord\voice\youtubedl.d(39,18): Error: template instance `dscord.voice.youtubedl.maybeSendCompat!string` error instantiating
src\dscord\voice\youtubedl.d(19,7): Error: no property sendCompat for type Task
src\dscord\voice\youtubedl.d(45,27): Error: template instance `dscord.voice.youtubedl.maybeSendCompat!(typeof(null))` error instantiating
src\dscord\voice\youtubedl.d(70,23): Error: template instance `receiveOnlyCompat!string` template receiveOnlyCompat is not defined
src\dscord\voice\youtubedl.d(91,23): Error: template instance `receiveOnlyCompat!string` template receiveOnlyCompat is not defined
src\dscord\voice\youtubedl.d(19,7): Error: no property sendCompat for type Task
src\dscord\voice\youtubedl.d(108,11): Error: template instance `dscord.voice.youtubedl.maybeSendCompat!(shared(ubyte[][]))` error instantiating
src\dscord\voice\youtubedl.d(121,21): Error: template instance `receiveOnlyCompat!(shared(ubyte[][]))` template receiveOnlyCompat is not defined
src\dscord\voice\client.d(513,64): Deprecation: alias `vibe.core.path.Path` is deprecated - Use NativePath or one the specific path types instead.
dscord\src\dscord\util\json.d(332,5): Error: cannot modify immutable expression result
dscord\src\dscord\util\json.d(295,7): Error: template instance `dscord.util.json.loadSingleField!(PermissionOverwrite, immutable(char))` error instantiating
dscord\src\dscord\util\json.d(246,9): instantiated from here: loadSingleField!(PermissionOverwrite, PermissionOverwriteType)
dscord\src\dscord\types\base.d(183,29): instantiated from here: deserializeFromJSON!(PermissionOverwrite)
This is caused by dlang/phobos#5291. As I explained there:
The breakage is here (https://github.com/MetaLang/dscord/blob/master/src/dscord/util/json.d#L194). PermissionOverwriteType is an enum with a base type of string. Due to this pull request, trying to deserialize a field of type PermissionOverwrite now bypasses the isSomeString case as it now doesn't pass the isSomeString!PermissionOverwriteType check. It falls through to the isArray case and tries to serialize each individual immutable(char), which falls through to the default case and results in the code trying to write to an immutable value.
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.