mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Restructured the project structure back to the way it was, there's no reasonable way to split the modules
This commit is contained in:
12
src/NadekoBot/Db/Models/anti/AntiSpamIgnore.cs
Normal file
12
src/NadekoBot/Db/Models/anti/AntiSpamIgnore.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Nadeko.Bot.Db.Models;
|
||||
|
||||
public class AntiSpamIgnore : DbEntity
|
||||
{
|
||||
public ulong ChannelId { get; set; }
|
||||
|
||||
public override int GetHashCode()
|
||||
=> ChannelId.GetHashCode();
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
=> obj is AntiSpamIgnore inst && inst.ChannelId == ChannelId;
|
||||
}
|
Reference in New Issue
Block a user