diff options
Diffstat (limited to 'bot/utils/__init__.py')
-rw-r--r-- | bot/utils/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/utils/__init__.py b/bot/utils/__init__.py index 4cd35d35..ef18a1b9 100644 --- a/bot/utils/__init__.py +++ b/bot/utils/__init__.py @@ -25,7 +25,6 @@ async def disambiguate( :param embed: The embed that the paginator will use. :return: Users choice for correct entry. """ - if len(entries) == 0: raise BadArgument('No matches found.') @@ -77,4 +76,4 @@ async def disambiguate( try: return entries[index - 1] except IndexError: - raise BadArgument('Invalid choice.')
\ No newline at end of file + raise BadArgument('Invalid choice.') |