Add debugger step through
This commit is contained in:
parent
367427938c
commit
81e9e6f959
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
using Discord.WebSocket;
|
using Discord.WebSocket;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Kerobot
|
namespace Kerobot
|
||||||
|
@ -56,6 +57,7 @@ namespace Kerobot
|
||||||
/// <exception cref="InvalidCastException">
|
/// <exception cref="InvalidCastException">
|
||||||
/// Thrown if the stored state object cannot be cast as specified.
|
/// Thrown if the stored state object cannot be cast as specified.
|
||||||
/// </exception>
|
/// </exception>
|
||||||
|
[DebuggerStepThrough]
|
||||||
protected T GetGuildState<T>(ulong guildId) => Kerobot.GetGuildState<T>(guildId, GetType());
|
protected T GetGuildState<T>(ulong guildId) => Kerobot.GetGuildState<T>(guildId, GetType());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue