From 0a8998b1b726c112aa8265926aa7e7b67195f855 Mon Sep 17 00:00:00 2001 From: Zachary Vacura Date: Sat, 15 Oct 2016 15:12:44 -0500 Subject: [PATCH] For the lolz --- lib/src/objects/Guild.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/objects/Guild.dart b/lib/src/objects/Guild.dart index f99e709..630514c 100644 --- a/lib/src/objects/Guild.dart +++ b/lib/src/objects/Guild.dart @@ -113,6 +113,7 @@ class Guild extends _BaseObj { Member member = this.members[o['user']['id']]; member.status = o['status']; if (o['game'] != null) { + if (o['game']['type'] is String) print(member.username); member.game = new Game._new(client, o['game'] as Map); }