Allow a server admin to specify a channel for the welcome message

This commit is contained in:
runebaas 2019-05-21 20:50:50 +02:00
parent 8822e65e6a
commit ced287e492
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
3 changed files with 55 additions and 9 deletions

View file

@ -6,7 +6,7 @@ namespace Geekbot.net.Database.Models
{
[Key]
public int Id { get; set; }
[Required]
public long GuildId { get; set; }
@ -15,9 +15,11 @@ namespace Geekbot.net.Database.Models
public bool Hui { get; set; } = false;
public long ModChannel { get; set; } = 0;
public string WelcomeMessage { get; set; }
public long WelcomeChannel { get; set; }
public bool ShowDelete { get; set; } = false;
public bool ShowLeave { get; set; } = false;