Skip to content

Commit 4eeb138

Browse files
GeomKidFayeDel
andauthored
fix: Skip guild from syncing instead of raising an error (#1223)
* fix: Warns user that the bot is not in guild than rather fails * fix: dying due to error * fix : merge conflicts Co-authored-by: DeltaX <33706469+DeltaXWizard@users.noreply.github.com>
1 parent d2f7668 commit 4eeb138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/client/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ async def __sync(self) -> None: # sourcery no-metrics
712712
raise LibraryException(50001, message="Missing Access |")
713713
if _guild_id not in _guild_ids:
714714
log.warning(f"The bot is not in guild with id {_guild_id}")
715-
raise LibraryException(50001, message="Missing Access |")
715+
continue
716716
if _guild_command["name"] not in __check_guild_commands[_guild_id]:
717717
self.__guild_commands[_guild_id]["clean"] = False
718718
self.__guild_commands[_guild_id]["commands"].append(_guild_command)

0 commit comments

Comments
 (0)