diff --git a/.travis.yml b/.travis.yml index ac6ce6ef..8b64159c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ after_failure: cache: directories: - - $HOME/.pub-cache \ No newline at end of file + - $HOME/.pub-cache diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7628d2f7..a1d07037 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,4 +19,4 @@ If adding new functionality or modifying existing, documentation should be added We attempt to conform [Effective Dart Coding Style](https://dart.dev/guides/language/effective-dart/style) where possible. However, code style rules are not enforcement and code should be readable and easy to maintain. -**One exception to rules above is line limit - we use 120 character line limit instead of 80 chars.** \ No newline at end of file +**One exception to rules above is line limit - we use 120 character line limit instead of 80 chars.** diff --git a/README.md b/README.md index 3f6e5847..5672f1e5 100644 --- a/README.md +++ b/README.md @@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON ## Credits - * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). \ No newline at end of file + * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). diff --git a/nyxx.commander/README.md b/nyxx.commander/README.md index 3f6e5847..5672f1e5 100644 --- a/nyxx.commander/README.md +++ b/nyxx.commander/README.md @@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON ## Credits - * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). \ No newline at end of file + * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). diff --git a/nyxx.commander/analysis_options.yaml b/nyxx.commander/analysis_options.yaml index e13e0e9c..a7cdb3aa 100644 --- a/nyxx.commander/analysis_options.yaml +++ b/nyxx.commander/analysis_options.yaml @@ -108,4 +108,4 @@ linter: - prefer_iterable_whereType - prefer_mixin - prefer_null_aware_operators - - prefer_spread_collections \ No newline at end of file + - prefer_spread_collections diff --git a/nyxx.commander/lib/src/Commander.dart b/nyxx.commander/lib/src/Commander.dart index ceb73b90..1a2d0a51 100644 --- a/nyxx.commander/lib/src/Commander.dart +++ b/nyxx.commander/lib/src/Commander.dart @@ -202,4 +202,4 @@ abstract class ICommandRegistrable { this._commandEntities.add(entity); } -} \ No newline at end of file +} diff --git a/nyxx.commander/lib/src/utils.dart b/nyxx.commander/lib/src/utils.dart index d78b873a..eba81b8d 100644 --- a/nyxx.commander/lib/src/utils.dart +++ b/nyxx.commander/lib/src/utils.dart @@ -27,4 +27,4 @@ extension _CommandMatcher on Iterable { return null; } -} \ No newline at end of file +} diff --git a/nyxx.extensions/CHANGELOG.md b/nyxx.extensions/CHANGELOG.md index 1913cb94..332f4658 100644 --- a/nyxx.extensions/CHANGELOG.md +++ b/nyxx.extensions/CHANGELOG.md @@ -10,4 +10,4 @@ _24.08.2020_ * Scheduler module for invoking repeatable actions * Additional general utils * Message resolver module for resolving raw message content into human readable form -* Attachment extensions for vm \ No newline at end of file +* Attachment extensions for vm diff --git a/nyxx.extensions/README.md b/nyxx.extensions/README.md index 3f6e5847..5672f1e5 100644 --- a/nyxx.extensions/README.md +++ b/nyxx.extensions/README.md @@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON ## Credits - * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). \ No newline at end of file + * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). diff --git a/nyxx.extensions/analysis_options.yaml b/nyxx.extensions/analysis_options.yaml index e0f35047..c704eb6c 100644 --- a/nyxx.extensions/analysis_options.yaml +++ b/nyxx.extensions/analysis_options.yaml @@ -107,4 +107,4 @@ linter: - prefer_iterable_whereType - prefer_mixin - prefer_null_aware_operators - - prefer_spread_collections \ No newline at end of file + - prefer_spread_collections diff --git a/nyxx.extensions/lib/attachment_extension.dart b/nyxx.extensions/lib/attachment_extension.dart index b5ecca8c..a24ba641 100644 --- a/nyxx.extensions/lib/attachment_extension.dart +++ b/nyxx.extensions/lib/attachment_extension.dart @@ -1 +1 @@ -export "src/attachment_extension.dart"; \ No newline at end of file +export "src/attachment_extension.dart"; diff --git a/nyxx.extensions/lib/emoji.dart b/nyxx.extensions/lib/emoji.dart index bf8ed7d2..83947a42 100644 --- a/nyxx.extensions/lib/emoji.dart +++ b/nyxx.extensions/lib/emoji.dart @@ -6,4 +6,4 @@ import "package:nyxx/nyxx.dart"; import "package:http/http.dart" as http; part "src/emoji/EmojiDefinition.dart"; -part "src/emoji/EmojiUtils.dart"; \ No newline at end of file +part "src/emoji/EmojiUtils.dart"; diff --git a/nyxx.extensions/lib/message_resolver.dart b/nyxx.extensions/lib/message_resolver.dart index 37ea2da1..662ceb92 100644 --- a/nyxx.extensions/lib/message_resolver.dart +++ b/nyxx.extensions/lib/message_resolver.dart @@ -1,2 +1,2 @@ export "src/message_resolver/Regexes.dart"; -export "src/message_resolver/message_resolver.dart"; \ No newline at end of file +export "src/message_resolver/message_resolver.dart"; diff --git a/nyxx.extensions/lib/pagination.dart b/nyxx.extensions/lib/pagination.dart index 3cd6c049..30830be2 100644 --- a/nyxx.extensions/lib/pagination.dart +++ b/nyxx.extensions/lib/pagination.dart @@ -1 +1 @@ -export "src/pagination/pagination.dart"; \ No newline at end of file +export "src/pagination/pagination.dart"; diff --git a/nyxx.extensions/lib/scheduled_event.dart b/nyxx.extensions/lib/scheduled_event.dart index 726a026d..2b79af83 100644 --- a/nyxx.extensions/lib/scheduled_event.dart +++ b/nyxx.extensions/lib/scheduled_event.dart @@ -1 +1 @@ -export "src/scheduler/scheduler.dart"; \ No newline at end of file +export "src/scheduler/scheduler.dart"; diff --git a/nyxx.extensions/lib/src/attachment_extension.dart b/nyxx.extensions/lib/src/attachment_extension.dart index 189deb44..dd5044c2 100644 --- a/nyxx.extensions/lib/src/attachment_extension.dart +++ b/nyxx.extensions/lib/src/attachment_extension.dart @@ -15,4 +15,4 @@ extension DownloadAttachmentExtensions on Attachment { /// Downloads attachment as returns bytes of downloaded file. Future downloadAsBytes() async => (await http.get(Uri.parse(this.url))).bodyBytes; -} \ No newline at end of file +} diff --git a/nyxx.extensions/lib/src/emoji/EmojiUtils.dart b/nyxx.extensions/lib/src/emoji/EmojiUtils.dart index b44fc11a..e7a29f0d 100644 --- a/nyxx.extensions/lib/src/emoji/EmojiUtils.dart +++ b/nyxx.extensions/lib/src/emoji/EmojiUtils.dart @@ -35,4 +35,4 @@ Future> getAllEmojiDefinitions({bool cache = false}) a } return _emojis; -} \ No newline at end of file +} diff --git a/nyxx.extensions/lib/src/message_resolver/message_resolver.dart b/nyxx.extensions/lib/src/message_resolver/message_resolver.dart index 44d47633..3531b4e6 100644 --- a/nyxx.extensions/lib/src/message_resolver/message_resolver.dart +++ b/nyxx.extensions/lib/src/message_resolver/message_resolver.dart @@ -292,4 +292,4 @@ FutureOr _defaultMissingEntityHandler(String entityType) { default: return ""; } -} \ No newline at end of file +} diff --git a/nyxx.extensions/lib/src/scheduler/scheduler.dart b/nyxx.extensions/lib/src/scheduler/scheduler.dart index 7d78640e..a62170af 100644 --- a/nyxx.extensions/lib/src/scheduler/scheduler.dart +++ b/nyxx.extensions/lib/src/scheduler/scheduler.dart @@ -24,4 +24,4 @@ class ScheduledEvent { /// Stops [ScheduledEvent] if running. void stop() => _timer.cancel(); -} \ No newline at end of file +} diff --git a/nyxx.extensions/lib/src/utils.dart b/nyxx.extensions/lib/src/utils.dart index 1be90fc0..4f4b6431 100644 --- a/nyxx.extensions/lib/src/utils.dart +++ b/nyxx.extensions/lib/src/utils.dart @@ -37,4 +37,4 @@ class StringUtils { return split(str, len); } -} \ No newline at end of file +} diff --git a/nyxx.extensions/lib/utils.dart b/nyxx.extensions/lib/utils.dart index 07461db1..d2bfae5d 100644 --- a/nyxx.extensions/lib/utils.dart +++ b/nyxx.extensions/lib/utils.dart @@ -1 +1 @@ -export "src/utils.dart"; \ No newline at end of file +export "src/utils.dart"; diff --git a/nyxx.extensions/test/extensions-tests.dart b/nyxx.extensions/test/extensions-tests.dart index f501440e..5b74c6e6 100644 --- a/nyxx.extensions/test/extensions-tests.dart +++ b/nyxx.extensions/test/extensions-tests.dart @@ -3,4 +3,4 @@ import "package:nyxx_extensions/emoji.dart"; main() async { final emojis = await getAllEmojiDefinitions(); assert(emojis.isNotEmpty, "Emojis cannot be empty"); -} \ No newline at end of file +} diff --git a/nyxx/README.md b/nyxx/README.md index 3f6e5847..5672f1e5 100644 --- a/nyxx/README.md +++ b/nyxx/README.md @@ -85,4 +85,4 @@ Read [contributing document](https://github.com/l7ssha/nyxx/blob/development/CON ## Credits - * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). \ No newline at end of file + * [Hackzzila's](https://github.com/Hackzzila) for [nyx](https://github.com/Hackzzila/nyx). diff --git a/nyxx/analysis_options.yaml b/nyxx/analysis_options.yaml index e13e0e9c..a7cdb3aa 100644 --- a/nyxx/analysis_options.yaml +++ b/nyxx/analysis_options.yaml @@ -108,4 +108,4 @@ linter: - prefer_iterable_whereType - prefer_mixin - prefer_null_aware_operators - - prefer_spread_collections \ No newline at end of file + - prefer_spread_collections diff --git a/nyxx/lib/src/core/channel/guild/CategoryGuildChannel.dart b/nyxx/lib/src/core/channel/guild/CategoryGuildChannel.dart index bbb76a0f..12a1380f 100644 --- a/nyxx/lib/src/core/channel/guild/CategoryGuildChannel.dart +++ b/nyxx/lib/src/core/channel/guild/CategoryGuildChannel.dart @@ -2,4 +2,4 @@ part of nyxx; class CategoryGuildChannel extends GuildChannel { CategoryGuildChannel._new(Nyxx client, Map raw, [Snowflake? guildId]): super._new(client, raw, guildId); -} \ No newline at end of file +} diff --git a/nyxx/lib/src/core/channel/guild/VoiceChannel.dart b/nyxx/lib/src/core/channel/guild/VoiceChannel.dart index 3379e2c1..ba72c71d 100644 --- a/nyxx/lib/src/core/channel/guild/VoiceChannel.dart +++ b/nyxx/lib/src/core/channel/guild/VoiceChannel.dart @@ -37,4 +37,4 @@ class VoiceGuildChannel extends GuildChannel { throw InvalidShardException._new("Cannot find shard for this channel!"); } } -} \ No newline at end of file +} diff --git a/nyxx/lib/src/core/guild/GuildFeature.dart b/nyxx/lib/src/core/guild/GuildFeature.dart index 9b4e2f4b..be03c6fe 100644 --- a/nyxx/lib/src/core/guild/GuildFeature.dart +++ b/nyxx/lib/src/core/guild/GuildFeature.dart @@ -49,4 +49,4 @@ class GuildFeature extends IEnum { return super == other; } -} \ No newline at end of file +} diff --git a/nyxx/lib/src/core/guild/Role.dart b/nyxx/lib/src/core/guild/Role.dart index c2abbaa2..f8aa43ae 100644 --- a/nyxx/lib/src/core/guild/Role.dart +++ b/nyxx/lib/src/core/guild/Role.dart @@ -80,4 +80,4 @@ class RoleTags { this.nitroRole = raw["premium_subscriber"] != null ? raw["premium_subscriber"] as bool : false; this.integrationId = raw["integration_id"] != null ? Snowflake(raw["integration_id"]) : null; } -} \ No newline at end of file +} diff --git a/nyxx/lib/src/core/message/Emoji.dart b/nyxx/lib/src/core/message/Emoji.dart index fa10d103..750050fc 100644 --- a/nyxx/lib/src/core/message/Emoji.dart +++ b/nyxx/lib/src/core/message/Emoji.dart @@ -7,4 +7,4 @@ abstract class IEmoji { /// Returns encoded emoji for usage in message String formatForMessage(); -} \ No newline at end of file +} diff --git a/nyxx/lib/src/core/message/UnicodeEmoji.dart b/nyxx/lib/src/core/message/UnicodeEmoji.dart index 5a0a0f37..e2bb613b 100644 --- a/nyxx/lib/src/core/message/UnicodeEmoji.dart +++ b/nyxx/lib/src/core/message/UnicodeEmoji.dart @@ -18,4 +18,4 @@ class UnicodeEmoji implements IEmoji { @override String toString() => this.formatForMessage(); -} \ No newline at end of file +} diff --git a/nyxx/lib/src/events/RawEvent.dart b/nyxx/lib/src/events/RawEvent.dart index 78276c16..06e41521 100644 --- a/nyxx/lib/src/events/RawEvent.dart +++ b/nyxx/lib/src/events/RawEvent.dart @@ -10,4 +10,4 @@ class RawEvent { final Map rawData; RawEvent._new(this.shard, this.rawData); -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/cache/Cacheable.dart b/nyxx/lib/src/internal/cache/Cacheable.dart index 47a32041..4e483470 100644 --- a/nyxx/lib/src/internal/cache/Cacheable.dart +++ b/nyxx/lib/src/internal/cache/Cacheable.dart @@ -139,4 +139,4 @@ class _MessageCacheable extends Cacheable "EmbedBuilderArgumentException: $message"; -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/exceptions/HttpClientException.dart b/nyxx/lib/src/internal/exceptions/HttpClientException.dart index 9d275aad..e94b48ff 100644 --- a/nyxx/lib/src/internal/exceptions/HttpClientException.dart +++ b/nyxx/lib/src/internal/exceptions/HttpClientException.dart @@ -6,4 +6,4 @@ class HttpClientException extends http.ClientException { // ignore: public_member_api_docs HttpClientException(this.response) : super("Exception", response?.request?.url); -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/exceptions/InvalidShardException.dart b/nyxx/lib/src/internal/exceptions/InvalidShardException.dart index 79e07dbe..2ea7f2e3 100644 --- a/nyxx/lib/src/internal/exceptions/InvalidShardException.dart +++ b/nyxx/lib/src/internal/exceptions/InvalidShardException.dart @@ -9,4 +9,4 @@ class InvalidShardException implements Exception { @override String toString() => "InvalidShardException: Unsupported shard operation: $message"; -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/exceptions/InvalidSnowflakeException.dart b/nyxx/lib/src/internal/exceptions/InvalidSnowflakeException.dart index 6bb42409..4623af2c 100644 --- a/nyxx/lib/src/internal/exceptions/InvalidSnowflakeException.dart +++ b/nyxx/lib/src/internal/exceptions/InvalidSnowflakeException.dart @@ -8,4 +8,4 @@ class InvalidSnowflakeException implements Exception { @override String toString() => "InvalidSnowflakeException: Cannot parse [$_invalidSnowflake] to Snowflake"; -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/http/_HttpClient.dart b/nyxx/lib/src/internal/http/_HttpClient.dart index 610d7b03..94cab059 100644 --- a/nyxx/lib/src/internal/http/_HttpClient.dart +++ b/nyxx/lib/src/internal/http/_HttpClient.dart @@ -23,4 +23,4 @@ class _HttpClient extends http.BaseClient { return response; } -} \ No newline at end of file +} diff --git a/nyxx/lib/src/internal/shard/ShardManager.dart b/nyxx/lib/src/internal/shard/ShardManager.dart index 30e9ca67..0b1e589e 100644 --- a/nyxx/lib/src/internal/shard/ShardManager.dart +++ b/nyxx/lib/src/internal/shard/ShardManager.dart @@ -84,4 +84,4 @@ class ShardManager implements Disposable { await this._onDisconnect.close(); await this._onMemberChunk.close(); } -} \ No newline at end of file +}