mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-12-04 02:33:10 +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"];
|
|
}
|
|
}
|
|
}
|