Move the RollTimeout record to the shared commands project
This commit is contained in:
parent
dd941f5f94
commit
29e22acbc0
4 changed files with 11 additions and 18 deletions
|
@ -3,6 +3,7 @@ using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using Geekbot.Bot.Utils;
|
using Geekbot.Bot.Utils;
|
||||||
|
using Geekbot.Commands.Roll;
|
||||||
using Geekbot.Core;
|
using Geekbot.Core;
|
||||||
using Geekbot.Core.Database;
|
using Geekbot.Core.Database;
|
||||||
using Geekbot.Core.Database.Models;
|
using Geekbot.Core.Database.Models;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Geekbot.Bot.Commands.Games.Roll
|
namespace Geekbot.Commands.Roll
|
||||||
{
|
{
|
||||||
public class RollTimeout
|
public record RollTimeout
|
||||||
{
|
{
|
||||||
public int LastGuess { get; set; }
|
public int LastGuess { get; set; }
|
||||||
public DateTime GuessedOn { get; set; }
|
public DateTime GuessedOn { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Geekbot.Commands.Roll;
|
||||||
using Geekbot.Core.Database;
|
using Geekbot.Core.Database;
|
||||||
using Geekbot.Core.Interactions;
|
using Geekbot.Core.Interactions;
|
||||||
using Geekbot.Core.Interactions.ApplicationCommand;
|
using Geekbot.Core.Interactions.ApplicationCommand;
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Geekbot.Web.Commands;
|
|
||||||
|
|
||||||
public record RollTimeout
|
|
||||||
{
|
|
||||||
public int LastGuess { get; set; }
|
|
||||||
public DateTime GuessedOn { get; set; }
|
|
||||||
}
|
|
Loading…
Reference in a new issue