mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-10-31 21:05:38 +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"];
|
|
}
|
|
}
|
|
}
|