Commit graph

1568 commits

Author SHA1 Message Date
Szymon Uglis 19652b11d5 Add examples
[ci skip]
2020-06-19 14:29:02 +02:00
Szymon Uglis f5f199a615 Removed AbstractPermissions class. Created CacheTextChannel and GuildTextChannel mixin.
Added toSnowflakeEntity extensions to int and String.
Changed api in Guild ban and kick methods to accept SnowflakeEntities.
[ci skip]
2020-06-19 14:28:47 +02:00
Szymon Uglis 329800df29 Fix error messages. Move CONNECT_ACK command at the end of callback
[ci skip]
2020-06-19 02:29:34 +02:00
Szymon Uglis bfc2df4894 Add pull request template
[ci skip]
2020-06-18 15:27:04 +02:00
Szymon Uglis 1d0fb1141b Added docs, properties to Shard, small typos
[ci skip]
2020-06-18 14:59:23 +02:00
Szymon Uglis fca76754f0 Shared zlib context for connection
[ci skip]
2020-06-18 01:16:51 +02:00
Szymon Uglis 4517e91254 Rewritten contributing guidelines 2020-06-17 23:40:33 +02:00
Szymon Uglis fefc197428 Docs fixes
[ci skip]
2020-06-17 23:40:13 +02:00
Szymon Uglis 30c030d174 Created more descriptive errors and exceptions
#84
[ci skip]
2020-06-16 23:12:28 +02:00
Szymon Uglis d8ca24f1b3 Fixed displaying command name by logger,
renamed registerCommandEntity to registerCommandGroup,
rewritten _CommandMatcherExtension,
added callback if command execution fails
[ci skip]
2020-06-16 18:20:45 +02:00
Szymon Uglis dc7c16cbf7 Add dartdocs to ignored
[ci skip]
2020-06-16 02:24:31 +02:00
Szymon Uglis 56c3811b2e Merge remote-tracking branch 'origin/rewrite_modular_sharding' into rewrite_modular_sharding 2020-06-16 00:56:17 +02:00
Szymon Uglis 0a39738544 Move shard file to separated package and split its contents into multiple files.
Added comments and docs. ShardManager and Shard constructors are now private.
[ci skip]
2020-06-16 00:56:07 +02:00
Szymon Uglis 13b4dd5a5b Move shard file to separated package and split its contents into multiple files.
Added comments and docs. ShardManager and Shard constructors are now private.
[ci skip]
2020-06-16 00:55:26 +02:00
Szymon Uglis 9338a091fb Add dot.
[ci skip]
2020-06-15 22:14:10 +02:00
Szymon Uglis f7dc1a9b01 Moved events handling to different method. Created helper methods for connecting and disconnecting.
Shard now dont send if connection is resumed just to send it back.
[ci skip]
2020-06-15 22:13:59 +02:00
Szymon Uglis 3202ea46c5 Implement subCommands
[ci skip]
2020-06-11 19:46:57 +02:00
Szymon Uglis 61429ebf1e Give more descriptive error
[ci skip]
2020-06-11 19:46:19 +02:00
Szymon Uglis 84db7f9516 Remove unnecessary try catch 2020-06-11 13:39:17 +02:00
Szymon Uglis dcee9a27f0 Fix examples. Add and update documentation of examples.
[ci skip]
2020-06-09 21:37:59 +02:00
Szymon Uglis a8168591b3 Fix #81
[ci skip]
2020-06-07 21:17:59 +02:00
Szymon Uglis 1f803fbf6a Change from return to await. 2020-06-07 21:16:00 +02:00
Szymon Uglis b03b73b685 Do not respond to command without prefix. Allow matching
[ci skip]
2020-06-07 13:49:20 +02:00
Szymon Uglis f4c2d61ee8 Listen for SIGTERM and SIGINT signals. Dont send terminate command to shard. #67
[ci skip]
2020-06-06 21:00:30 +02:00
Szymon Uglis bbc549db61 Changed prefix hander API, command name with multiple words now works
Added getArguments and getQuotedText methods to CommandContext
[ci skip]
2020-06-05 23:30:54 +02:00
Szymon Uglis bcd0c4179b Added gateway latency getter to Shard
[ci skip]
2020-06-05 16:11:25 +02:00
Szymon Uglis 76d8f2ae82 Added support for initial presence
[ci skip]
2020-06-05 13:25:09 +02:00
Szymon Uglis aea584cea9 Remove http dependency. Add client and shardId to CommandContext 2020-06-05 12:22:42 +02:00
Szymon Uglis bc6520d483 [WIP] Added voice connection methods to VoiceChannel.dart
Ready event wont be triggered until all shards connected.
Fixed websocket connection and reconnection problems
[ci skip]
2020-06-05 00:43:33 +02:00
Szymon Uglis 6a400b5f07 [WIP] Added customizable gateway payload compression and added guild subscriptions option to identify
[ci skip]
2020-06-04 14:04:40 +02:00
Szymon Uglis db111932ae Merge remote-tracking branch 'origin/rewrite_modular' into rewrite_modular 2020-06-04 11:04:16 +02:00
Szymon Uglis c0455ade87 Change on Exception to on Error
[ci skip]
2020-06-04 11:04:07 +02:00
Szymon Uglis 70c3d585d5 [WIP] Added error handling, fixed connection problems fix channel update event deserialization
[ci skip]
2020-06-04 11:01:49 +02:00
Szymon Uglis 472e65d8d4 [WIP] Added missing methods to shard manager, redone emojis, code formatting
[ci skip]
2020-06-03 00:15:17 +02:00
Szymon Uglis a628903f43 [WIP] Proper handling for connecting shards
fixed client deserialization in channel create event
adjust shard count in nyxx and client options,
[ci skip]
2020-06-02 00:11:02 +02:00
Szymon Uglis d745c5e65f [WIP] Initial draft of sharding
[ci skip]
2020-06-01 14:22:12 +02:00
Szymon Uglis 0787f051ab Add extensions on String and int for converting them into Snowflake
[ci skip]

Add docs to extensions
[ci skip]
2020-06-01 00:23:04 +02:00
Szymon Uglis ea111117fb Fix last commit. Remove unused package, catch Error properly
[ci skip]
2020-05-31 23:28:15 +02:00
Szymon Uglis c60864fab4 Docs fixes and additions. Code structure fixes, optimizations
[ci skip]
2020-05-28 22:08:05 +02:00
Szymon Uglis ce793eb88e Merge pull request #77 from One-Nub/rewrite_modular
Adding ActivityType documentation & fixing "custom" ActivityType value
2020-05-24 11:52:23 +02:00
One-Nub 9ebbd95595 Adding documentation to ActivityType constants 2020-05-23 22:40:44 -05:00
One-Nub 7e558a249b Changing custom presence value to 4 instead of 3 2020-05-23 22:28:10 -05:00
Szymon Uglis b7b8f6167e Cacheless Guild, Emoji, Reaction, Role
[ci skip]
2020-05-21 00:55:14 +02:00
Szymon Uglis e120c92314 Cacheless Message
[ci skip]
2020-05-21 00:22:49 +02:00
Szymon Uglis f741fe1752 Type fixes on Channels
[ci skip]
2020-05-21 00:04:01 +02:00
Szymon Uglis aff150cc40 Dont require cache - channels
[ci skip]
2020-05-20 22:35:48 +02:00
Szymon Uglis 60f1a333cb Merge branch 'Add-issue-templates' into rewrite_modular
# Conflicts:
#	lib/src/commands/Processors.dart
2020-05-18 22:58:26 +02:00
Szymon Uglis c61afbaad9 Update issue templates 2020-05-18 22:52:40 +02:00
Szymon Uglis 35ca9a631e Merge remote-tracking branch 'origin/rewrite_modular' into rewrite_modular 2020-05-18 15:18:52 +02:00
Szymon Uglis b6afeb4891 Analyzer fixes
[ci skip]
2020-05-18 15:18:37 +02:00