16 lines
No EOL
399 B
C#
16 lines
No EOL
399 B
C#
using System.Reflection;
|
|
|
|
namespace Geekbot.net.Lib
|
|
{
|
|
public static class Constants
|
|
{
|
|
public const string Name = "Geekbot";
|
|
|
|
public static string BotVersion()
|
|
{
|
|
return typeof(Program).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
|
}
|
|
|
|
public const double ApiVersion = 1;
|
|
}
|
|
} |