Fix lookup error on non-large guilds

This commit is contained in:
Noi 2020-03-02 16:44:31 -08:00
parent 2db1cd05ac
commit 2441746d3b

View file

@ -240,7 +240,7 @@ class WtCommands:
"""
Takes a string input and attempts to find the corresponding member.
"""
await self.dclient.request_offline_members(guild)
if guild.large: await self.dclient.request_offline_members(guild)
idsearch = None
try:
idsearch = int(inputstr)