Commit graph

1568 commits

Author SHA1 Message Date
Szymon Uglis 4b89096de1 Analyzer fixes
[ci skip]
2020-05-18 15:18:09 +02:00
Szymon Uglis 13dc9b2015 Analyzer fixes
[ci skip]
2020-05-18 02:12:46 +02:00
Szymon Uglis 781bfbb38e Rewritten analyzer rules. First docs and style changes. #73
[ci skip]
2020-05-17 21:59:52 +02:00
Szymon Uglis 019a9e74d9 Implemented searching members via websocket - #72.
Added handler in case if internal http error occurs.
Made Constants and OPCodes public. Removed and fixed redundant code in OPCodes.
NNBD minor fixes. When shard resumes after disconnection no lomger ready event is emmited.
[ci skip]
2020-05-16 23:56:45 +02:00
Szymon Uglis 08ac7fe6ee Added support for include_roles in guild pruning. Further fixes for dart dev 2.9
[ci skip]
2020-05-15 23:18:26 +02:00
Szymon Uglis 3828994631 Support for sdk 2.9.0-9.0.dev
[ci skip]
2020-05-14 21:06:44 +02:00
Szymon Uglis beb62733c2 Fix examples to be less confusing for new users
[ci skip]
2020-05-14 21:05:59 +02:00
Szymon Uglis c911a941bb Added MessageChunkEvent. Fixes for latest dart sdk.
[ci skip]
2020-05-14 01:19:00 +02:00
Szymon Uglis 94f0082c18 Merge branch 'rewrite_modular' of github.com:l7ssha/nyxx into rewrite_modular 2020-05-14 00:35:46 +02:00
Szymon Uglis 126fb42551 Added support for news channels crossposts.
discord/discord-api-docs#1510
2020-05-14 00:33:19 +02:00
Szymon Uglis 719aea7cb3 Merge pull request #71 from One-Nub/patch-1
Fix DMChannel recognition/creation
2020-05-11 13:10:20 +02:00
One-Nub 1cd179c150 Have a DMChannel be recognized properly.
Before it would be recognized and sent to the user as a "GUILD_CATEGORY".
2020-05-10 12:49:24 -05:00
Szymon Uglis 8b774fe899 Merge branch 'rewrite_modular' of github.com:l7ssha/nyxx into rewrite_modular 2020-05-08 16:06:44 +02:00
Szymon Uglis 996e6ee877 Merge branch 'rewrite_modular' of github.com:l7ssha/nyxx into rewrite_modular 2020-05-08 16:03:20 +02:00
Szymon Uglis da8d966d16 Added IEnum class [ci skip] 2020-05-08 16:03:16 +02:00
Szymon Uglis 039f9b821b Merge pull request #69 from One-Nub/rewrite_modular
Fixing setPresence method
[ci skip]
2020-05-08 00:46:41 +02:00
One-Nub eff8ae2722 Removing private access where currently feasible 2020-05-07 17:12:20 -05:00
One-Nub 06f688e5ce Updating == operator 2020-05-07 15:59:55 -05:00
One-Nub fbb9c3933a Fixing setPresence method 2020-05-07 14:38:19 -05:00
Szymon Uglis e75c492823 Added List Members endpoint 2020-05-07 00:06:13 +02:00
Szymon Uglis 236f87382c Adapt to newer version of nyxx
[ci skip]
2020-05-05 00:11:51 +02:00
l7ssha be5c7c193e Merge pull request #65 from l7ssha/rewrite_modular_commands
Alternative command framework - Commander
2020-05-05 00:04:29 +02:00
Szymon Uglis 31f67a3bac Update dart version
[ci skip]
2020-05-05 00:03:48 +02:00
Szymon Uglis 26bad5c29e Add search members api endpoint
[ci skip]
2020-05-04 23:58:11 +02:00
Szymon Uglis 8e291a147e Add data-guild patch
[ci skip]
2020-05-04 23:56:39 +02:00
Szymon Uglis bc9df945af Change api host to discord.com
[ci skip]
2020-05-04 22:27:51 +02:00
Szymon Uglis 2efcdef9dc Renamed JsonRequest to BasicRequest. Removed Downloadable interface.
[ci skip]
2020-05-02 22:26:52 +02:00
Szymon Uglis abfd68baee objects package remved to core. Moved several files to more logical locations
[ci skip]
2020-04-29 02:02:41 +02:00
Szymon Uglis e95713530f Removed support for browser, once again.
[ci skip]
2020-04-29 01:49:20 +02:00
Szymon Uglis 197d87c763 Renamed internal import, NyxxVM and NyxxBrowser are now methods instead of classes, HttpHandler is now private, added formattedDiscriminator property to User
[ci skip]
2020-04-29 01:05:10 +02:00
Szymon Uglis 6c8f607356 Added guild getter to Nyxx, added parameters to specify if you want to use cache
[ci skip]
2020-04-28 19:00:09 +02:00
Szymon Uglis cd2c149a08 Implemented guild preview
[ci skip]
2020-04-28 01:33:30 +02:00
Szymon Uglis 45eceeaf57 Improved cache handling. Removed raw event. Removed BeforeHttpRequestSendEvent.
Divided Message into 2 other classes. Rewritten most events handling. Added ids of object besides objects alone to events.
Code cleanup. Removed onMessage, onRaw, onGuildUnavailable events. Dart 2.9.0-dev support.
#61 #35
[ci skip]
2020-04-25 00:45:11 +02:00
Szymon Uglis 8090674c22 Typo
[ci skip]
2020-04-21 12:14:45 +02:00
Szymon Uglis d69c2341e7 Implement webhook edit method
[ci skip]
2020-04-21 12:07:45 +02:00
Szymon Uglis d316c44f5e Implement webhook type
[ci skip]
2020-04-21 00:40:30 +02:00
Szymon Uglis 456123ec91 Add default avatar for webhook, removed send function from webhook
[ci skip]
2020-04-21 00:22:52 +02:00
Szymon Uglis 503978c4d3 Remove wrong doc
[ci skip]
2020-04-20 23:18:21 +02:00
Szymon Uglis bac550cf8c Added interactivity methods to context
[ci skip]
2020-04-20 21:11:02 +02:00
Szymon Uglis bb255e325c Change fields to final
[ci skip]
2020-04-20 17:07:02 +02:00
Szymon Uglis d740602669 Deprecated nyxx.commands
[ci skip]
2020-04-20 15:34:33 +02:00
Szymon Uglis 4e249be03a Callbacks return types are now FutureOr<>, extracted logger default function
[ci skip]

Add import fro dart:async
[ci skip]
2020-04-20 15:33:28 +02:00
Szymon Uglis a5c242a740 Merge remote-tracking branch 'origin/rewrite_modular' into rewrite_modular 2020-04-20 14:30:55 +02:00
Szymon Uglis f4f1c6096a Fixes to rate limiting
[ci skip]
2020-04-20 14:30:33 +02:00
Szymon Uglis 9a4c32b3d0 Fixed to rate limiting
[ci skip]
2020-04-20 14:29:27 +02:00
Szymon Uglis e3e720264f Added callback for logger
[ci skip]
2020-04-20 14:28:31 +02:00
Szymon Uglis d4316d1ba9 Commander documentation
[ci skip]
2020-04-19 22:02:33 +02:00
Szymon Uglis 8247e4568c Added tests for commander. Added support for commons handlers before and after executing command
[ci skip]
2020-04-19 19:46:20 +02:00
Szymon Uglis 7be4401774 Added alternative command framework: Commander
[ci skip]
2020-04-18 21:31:28 +02:00
Szymon Uglis 4bc01863c6 Shard fixes - removed unnecessary fields, tweaked emitting readyEvent, changed naming of events, removed dead code; #59
[ci skip]
2020-04-17 15:57:49 +02:00