Skip to content

Commit

Permalink
Fix Makefile; Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
l7ssha committed Nov 1, 2024
1 parent 1bdfeb5 commit 7cd6673
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ help:
@fgrep -h "##" $(MAKEFILE_LIST) | sed -e 's/\(\:.*\#\#\)/\:\ /' | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

format: ## Run dart format
dart format -l120 .
dart format -l 160 .

fix: ## Run dart fix
dart fix --apply
Expand All @@ -23,4 +23,4 @@ fix-project: analyze fix format ## Fix whole project

test-project: unit-tests integration-tests ## Run all tests

check-project: fix-project test-project ## Run all checks
check-project: fix-project test-project ## Run all checks
4 changes: 2 additions & 2 deletions lib/src/builders/channel/guild_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class ForumChannelBuilder extends GuildChannelBuilder<ForumChannel> {
List<CreateBuilder<ForumTag>>? tags;

/// {@template default_sort_order}
/// The default sort order type used to order posts in [ChannelType.guildForum] and [ChannelType.guildMedia] channels.
/// The default sort order type used to order posts in [ChannelType.guildForum] and [ChannelType.guildMedia] channels.
/// Defaults to null, which indicates a preferred sort order hasn't been set by a channel admin.
/// {@endtemplate}
ForumSort? defaultSortOrder;
Expand Down Expand Up @@ -334,7 +334,7 @@ class ForumChannelUpdateBuilder extends GuildChannelUpdateBuilder<ForumChannel>
/// {@macro default_sort_order}
ForumSort? defaultSortOrder;

/// The default forum layout view used to display posts in [ChannelType.guildForum] channels. Defaults to [ForumLayout.notSet],
/// The default forum layout view used to display posts in [ChannelType.guildForum] channels. Defaults to [ForumLayout.notSet],
/// which indicates a layout view has not been set by a channel admin.
ForumLayout? defaultLayout;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/builders/guild/auto_moderation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AutoModerationRuleBuilder extends CreateBuilder<AutoModerationRule> {
/// {@endtemplate}
String name;

/// {@ŧemplate auto_moderation_rule_event_type}
/// {@template auto_moderation_rule_event_type}
/// The event type that will trigger this rule.
/// {@endtemplate}
AutoModerationEventType eventType;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/builders/guild/guild.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class GuildUpdateBuilder extends UpdateBuilder<Guild> {
/// The id of the rules channel.
Snowflake? rulesChannelId;

/// The id of the public updates channel.
/// The id of the public updates channel.
Snowflake? publicUpdatesChannelId;

/// The preferred locale of the guild.
Expand Down

0 comments on commit 7cd6673

Please sign in to comment.