fix(bot): 🐛 p.call and p.skip not warning about scheduled shutdown.
This commit is contained in:
@@ -238,8 +238,8 @@ class Calls(base.Cog):
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚡ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.shutdown.value
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
+ msg_phone_answered
|
||||
@@ -254,8 +254,8 @@ class Calls(base.Cog):
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚡ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.shutdown.value
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
)
|
||||
@@ -435,8 +435,8 @@ class Calls(base.Cog):
|
||||
f"☎️ You skipped the call.\n"
|
||||
)
|
||||
+ (
|
||||
"⚡ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.shutdown.value
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
+ (
|
||||
@@ -459,8 +459,8 @@ class Calls(base.Cog):
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚡ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.shutdown.value
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user