mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-24 15:15:37 +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"];
|
|
}
|
|
}
|
|
}
|