We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21e840 commit 44259e6Copy full SHA for 44259e6
dbots/client_filler.py
@@ -76,7 +76,7 @@ def client_id(self):
76
def shard_id(self):
77
if self.client.__class__.__name__ == "AutoShardedClient":
78
return None
79
- elif type(self.client.shard_id) == int:
+ elif type(self.client.shard_id) is int:
80
return self.client.shard_id
81
82
0 commit comments