Remove useless edits from modlog, references #43
This commit is contained in:
parent
1e0056f339
commit
23aa336ad5
1 changed files with 2 additions and 0 deletions
|
@ -358,6 +358,8 @@ class ModlogCog(commands.Cog):
|
|||
{"guild": after.guild.id, "setting": "modlog"}
|
||||
)
|
||||
if modlog:
|
||||
if before.content == after.content:
|
||||
return
|
||||
channel = before.guild.get_channel(modlog["value"])
|
||||
fields = [
|
||||
Field(
|
||||
|
|
Loading…
Add table
Reference in a new issue