zt
10/03/2022, 10:56 PMtransaction {
Filter.new {
guild = Guild.findById(guildId)!!
pattern = arguments.filter.toString()
action = FilterAction.REPLY
response = arguments.content
}
}
Is there some simpler way of doing this? like instead I would fetch the Guild database object and then insert into its filters column