Skip to content

Commit

Permalink
Merge pull request #18 from pi4erd/development
Browse files Browse the repository at this point in the history
Automatic Release build check
  • Loading branch information
pi4erd authored Apr 26, 2024
2 parents ce55ba2 + 491ca8f commit a4d7958
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions TalkingBotLib/TalkingBotClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ public class TalkingBotClient : IDisposable
public const int Minor = 7;
public const int Patch = 0;

// TODO: Change automatically when Release build
#if DEBUG
public const bool IsBuilt = false;
#else
public const bool IsBuilt = true;
#endif

public static LavaNode? _lavaNode;
public static DiscordShardedClient? _client;
private static DiscordSocketConfig? _config;
private static TalkingBotConfig _talkingBotConfig;
private static SlashCommandHandler? _commandsHandler;

[System.Serializable]
[Serializable]
public struct CachedMessageRole {
public ulong messageId;
public ulong roleId;
Expand Down

0 comments on commit a4d7958

Please sign in to comment.