mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-12-05 02:53:08 +01:00
20 lines
453 B
C#
20 lines
453 B
C#
namespace Giants.Services.Services
|
|
{
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
public class CommunityService : ICommunityService
|
|
{
|
|
private readonly IConfiguration configuration;
|
|
|
|
public CommunityService(IConfiguration configuration)
|
|
{
|
|
this.configuration = configuration;
|
|
}
|
|
|
|
public string GetDiscordUri()
|
|
{
|
|
return this.configuration["DiscordUri"];
|
|
}
|
|
}
|
|
}
|