mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2026-04-03 11:10:05 +00:00
Fix for muted role change caching until bot restarts
This commit is contained in:
@@ -13,10 +13,11 @@ namespace DeukBot4.Database.ServerSettings
|
||||
}
|
||||
|
||||
public ulong ServerId { get; }
|
||||
public ulong MutedRoleId { get; }
|
||||
public ulong MutedRoleId { get; private set; }
|
||||
|
||||
public async Task SetMutedRoleId(ulong id)
|
||||
{
|
||||
MutedRoleId = id;
|
||||
using (var conn = new DatabaseConnection())
|
||||
{
|
||||
using (var cmd = new NpgsqlCommand())
|
||||
|
||||
Reference in New Issue
Block a user