Skip to content

Conversation

@akiraveliara
Copy link
Member

open questions:

  • do we want setup symmetry with DiscordClientBuilder and IServiceCollection?
  • do we also want to support IHostApplicationBuilder today, which is newer and preferred per Microsoft's documentation, but we won't be able to adhere to its setup pattern until .NET 10 brings extension properties?
  • do we want to integrate fetching the token with IConfiguration?

@akiraveliara akiraveliara added this to the v5.0 milestone May 12, 2025
@Plerx2493
Copy link
Member

  • i dont think we need. The biggest point was the hosted service. Imo its not necessary to also provide the other methods another time for the hostbuilder
  • im not sure what the implications are
  • if we do that we kinda force the user to use that exact configuration scheme if im not wrong, so i dont really think its a good idea. Maybe let the user provide a Func<IConfiguration, string> to select the token from the config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants