Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
to kick the runners again
  • Loading branch information
SocksTheWolf committed May 25, 2024
1 parent ed48e8b commit bc96f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BotMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ async def InstallWebhook(self, ServerId:int):
MessageChannel:discord.TextChannel = self.get_channel(ChannelID)

# Check to see if a webhook is already installed.
if (MessageChannel != None):
if (MessageChannel is not None):
try:
CurrentWebhooks = await MessageChannel.webhooks()
for Webhook in CurrentWebhooks:
Expand All @@ -436,7 +436,7 @@ async def DeleteWebhook(self, ServerId:int):
FoundWebhook:discord.Webhook = None

# Check to see if a webhook is already installed.
if (MessageChannel != None):
if (MessageChannel is not None):
try:
CurrentWebhooks = await MessageChannel.webhooks()
for Webhook in CurrentWebhooks:
Expand Down

0 comments on commit bc96f8e

Please sign in to comment.