diff --git a/commands/booru.py b/commands/booru.py index ab99252..e96f8a8 100644 --- a/commands/booru.py +++ b/commands/booru.py @@ -100,7 +100,9 @@ async def _reverse(context, urls, *, selector=None): pages = [ ( hikari.Embed( - title=match["artist"], url=match["url"], color=context.get_guild().get_my_member().get_top_role().color + title=match["artist"], + url=match["url"], + color=context.get_guild().get_my_member().get_top_role().color if context.get_guild() else "#1a1a1a", ) .set_author(name=f'{match["similarity"]}% Match') .set_image(match["thumbnail"])