Skip to content

Commit

Permalink
Use double indentation in a DI example as well
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaZ2 committed Dec 28, 2024
1 parent f127fa4 commit e342bb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/guides/services/DependencyInjection/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
host.AddModules(typeof(Program).Assembly);

host.AddSlashCommand(
name: "data",
description: "Shows the data!",
(IDataProvider dataProvider, SlashCommandContext context, int count) => string.Join(' ', dataProvider.GetData()
.Take(count)));
name: "data",
description: "Shows the data!",
(IDataProvider dataProvider, SlashCommandContext context, int count) => string.Join(' ', dataProvider.GetData()
.Take(count)));

host.UseGatewayEventHandlers();

Expand Down

0 comments on commit e342bb2

Please sign in to comment.