Skip to content

Commit

Permalink
Atempted launch error fix #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
OGNova committed Jul 23, 2018
1 parent 2785b59 commit 827f36e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions rowboat/plugins/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,19 +413,6 @@ def on_ready(self, event):

@Plugin.listen('GuildCreate', priority=Priority.BEFORE, conditional=lambda e: not e.created)
def on_guild_create(self, event):
if not rdb.sismemember(GUILDS_WAITING_SETUP_KEY, str(event.id)) and event.id != ROWBOAT_GUILD_ID:
with self.send_join_message() as embed:
embed.title='New Guild Joined'
embed.color=0x7289da
embed.add_field(name='Guild ID', value='{}'.format(event.id), inline=True)
embed.add_field(name='Whitelisted', value='False')

with self.send_join_message() as embed:
embed.title='New Guild Joined'
embed.color=0x7289da
embed.add_field(name='Guild ID', value='{}'.format(event.id), inline=True)
embed.add_field(name='Whitelisted', value='True')

try:
guild = Guild.with_id(event.id)
except Guild.DoesNotExist:
Expand Down

0 comments on commit 827f36e

Please sign in to comment.