diff --git a/ccrole/ccrole.py b/ccrole/ccrole.py index 6a3fda5..721825b 100644 --- a/ccrole/ccrole.py +++ b/ccrole/ccrole.py @@ -277,7 +277,8 @@ class CCRole: "message": message, "author": message.author, "channel": message.channel, - "server": message.server, + "server": message.guild, + "guild": message.guild, "target": target } if result in objects: