2018-05-06 03:24:09 +02:00
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Lib
|
2017-10-03 00:22:26 +02:00
|
|
|
|
{
|
2018-05-06 23:28:44 +02:00
|
|
|
|
public static class Constants
|
2017-10-03 00:22:26 +02:00
|
|
|
|
{
|
|
|
|
|
public const string Name = "Geekbot";
|
2018-05-06 03:24:09 +02:00
|
|
|
|
|
|
|
|
|
public static string BotVersion()
|
|
|
|
|
{
|
|
|
|
|
return typeof(Program).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-18 00:34:45 +02:00
|
|
|
|
public static string LibraryVersion()
|
|
|
|
|
{
|
|
|
|
|
return typeof(Discord.WebSocket.DiscordSocketClient).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-03 00:22:26 +02:00
|
|
|
|
public const double ApiVersion = 1;
|
|
|
|
|
}
|
|
|
|
|
}
|