cleanup/minor
This commit is contained in:
		| @@ -11,7 +11,7 @@ class DB: | ||||
|                                     "sqlite_dbs", "lovehate.db")  | ||||
|          | ||||
|     async def get_wholovehates(self, thing: str, loves: bool = False, | ||||
|                                hates: bool = False) -> list[tuple]|bool: | ||||
|                                hates: bool = False) -> Union[list[tuple], bool]: | ||||
|         """ | ||||
|         Get a list of users who have professed their love OR hatred for <thing> | ||||
|          | ||||
| @@ -20,7 +20,7 @@ class DB: | ||||
|             loves (bool): Are we looking for loves? | ||||
|             hates (bool): ...or are we looking for hates? | ||||
|         Returns: | ||||
|             list[tuple] | ||||
|             Union[list[tuple], bool] | ||||
|         """         | ||||
|  | ||||
|         query: str = "SELECT display_name FROM lovehate WHERE thing LIKE ? AND flag = ?" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user