about summary refs log tree commit diff stats
path: root/discord/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/user.py b/discord/user.py
index 838b6e2..16ddf1b 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -18,5 +18,5 @@ class User:
     )
 
     def __init__(self, data: dict):
-        for k, v in data:
-            setattr(self, k, v)
+        for k in data:
+            setattr(self, k, data[k])