Skip to content

Commit

Permalink
v3.3.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Oct 2, 2024
1 parent bf97907 commit cd9f28b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge_guilded.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ def __init__(self,bot):
global admin_ids

self.bot = bot
if not 'guilded' in self.bot.config['external']:
raise RuntimeError('guilded is not listed as an external service in config.json. More info: https://unichat-wiki.pixels.onl/setup-selfhosted/getting-started#installing-revolt-support')
if not 'guilded' in self.bot.config.get('external', ['guilded']):
raise RuntimeError('guilded is not listed as an external service in configuration. More info: https://wiki.unifierhq.org/setup-selfhosted/getting-started/unifier-older-versions#installing-guilded-support')
if not hasattr(self.bot, 'guilded_client'):
self.bot.guilded_client = gd_bot
self.bot.guilded_client.command_prefix = self.bot.command_prefix
Expand Down

0 comments on commit cd9f28b

Please sign in to comment.