Added .stondel which makes the bot delete stream online messages after the stream goes offline

This commit is contained in:
Kwoth
2022-04-27 21:57:24 +02:00
parent 24a9a02cc3
commit 39ae070c9d
10 changed files with 2907 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace NadekoBot.Migrations
{
public partial class stondel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "DeleteStreamOnlineMessage",
table: "GuildConfigs",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DeleteStreamOnlineMessage",
table: "GuildConfigs");
}
}
}

View File

@@ -809,6 +809,9 @@ namespace NadekoBot.Migrations
b.Property<bool>("DeleteMessageOnCommand")
.HasColumnType("INTEGER");
b.Property<bool>("DeleteStreamOnlineMessage")
.HasColumnType("INTEGER");
b.Property<string>("DmGreetMessageText")
.HasColumnType("TEXT");