Removed discrim from the database

Added .translateflags command
Added captcha to timely, configurable in .conf gambling
Changed bonuses for patreon rewards
Fixed nunchi message color
This commit is contained in:
Toastie 2024-11-03 23:50:08 +13:00
parent 41f1c7aa11
commit d1bc423b99
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
29 changed files with 12080 additions and 4732 deletions
src/EllieBot/Db

View file

@ -73,6 +73,14 @@ public abstract class EllieContext : DbContext
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
#region Flag Translate
modelBuilder.Entity<FlagTranslateChannel>()
.HasIndex(x => new { x.GuildId, x.ChannelId })
.IsUnique();
#endregion
#region NCanvas
modelBuilder.Entity<NCPixel>()