1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-24 23:25:37 +01:00
GiantsTools/Giants.Services/Services/CommunityService.cs

20 lines
453 B
C#
Raw Normal View History

2020-08-16 11:03:10 +02:00
namespace Giants.Services.Services
{
using Microsoft.Extensions.Configuration;
public class CommunityService : ICommunityService
2020-08-16 11:03:10 +02:00
{
private readonly IConfiguration configuration;
public CommunityService(IConfiguration configuration)
2020-08-16 11:03:10 +02:00
{
this.configuration = configuration;
}
public string GetDiscordUri()
{
return this.configuration["DiscordUri"];
}
}
}