File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1519,7 +1519,7 @@ async def autoupdate(self):
1519
1519
)
1520
1520
logger .info ("Bot has been updated." )
1521
1521
channel = self .log_channel
1522
- if self .bot . config ["update_notifications" ]:
1522
+ if self .config ["update_notifications" ]:
1523
1523
await channel .send (embed = embed )
1524
1524
else :
1525
1525
try :
@@ -1548,7 +1548,7 @@ async def autoupdate(self):
1548
1548
embed .set_footer (
1549
1549
text = f"Updating Modmail v{ self .version } " f"-> v{ latest .version } "
1550
1550
)
1551
- if self .bot . config ["update_notifications" ]:
1551
+ if self .config ["update_notifications" ]:
1552
1552
await channel .send (embed = embed )
1553
1553
else :
1554
1554
embed = discord .Embed (
@@ -1559,7 +1559,7 @@ async def autoupdate(self):
1559
1559
embed .set_footer (
1560
1560
text = f"Updating Modmail v{ self .version } " f"-> v{ latest .version } "
1561
1561
)
1562
- if self .bot . config ["update_notifications" ]:
1562
+ if self .config ["update_notifications" ]:
1563
1563
await channel .send (embed = embed )
1564
1564
await self .logout ()
1565
1565
You can’t perform that action at this time.
0 commit comments