Big update introducing ghetto command interface, settings, database and howl.gg bet feed scraping

This commit is contained in:
barelyprofessional
2024-07-18 01:37:15 +10:00
parent 936bf743a5
commit d61a171e54
46 changed files with 2198 additions and 218 deletions
@@ -0,0 +1,41 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace KfChatDotNetKickBot.Migrations
{
/// <inheritdoc />
public partial class Howlgg : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "HowlggBets",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
UserId = table.Column<int>(type: "INTEGER", nullable: false),
BetId = table.Column<int>(type: "INTEGER", nullable: false),
GameId = table.Column<long>(type: "INTEGER", nullable: false),
Bet = table.Column<long>(type: "INTEGER", nullable: false),
Profit = table.Column<long>(type: "INTEGER", nullable: false),
Date = table.Column<DateTimeOffset>(type: "TEXT", nullable: false),
Game = table.Column<string>(type: "TEXT", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_HowlggBets", x => x.Id);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "HowlggBets");
}
}
}