feat(bot): ✨ Move background tasks to separate image.
This commit is contained in:
@@ -238,11 +238,6 @@ class Calls(base.Cog):
|
||||
f"**TIP**: {secrets.choice(constants.TIPS).replace("{prefix}", ctx.clean_prefix)}\n"
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
+ msg_phone_answered
|
||||
)
|
||||
|
||||
@@ -254,11 +249,6 @@ class Calls(base.Cog):
|
||||
f"**TIP**: {secrets.choice(constants.TIPS).replace("{prefix}", ctx.clean_prefix)}\n"
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
)
|
||||
|
||||
@commands.command(aliases=["s"])
|
||||
@@ -436,11 +426,6 @@ class Calls(base.Cog):
|
||||
f"**TIP**: {secrets.choice(constants.TIPS).replace("{prefix}", ctx.clean_prefix)}\n"
|
||||
f"☎️ You skipped the call.\n"
|
||||
)
|
||||
+ (
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
+ (
|
||||
msg_phone_answered
|
||||
if msg_phone_answered
|
||||
@@ -460,11 +445,6 @@ class Calls(base.Cog):
|
||||
f"☎️ You skipped the call.\n"
|
||||
f"☎️ {secrets.choice(constants.MSGS_PHONE_CALLING)}\n"
|
||||
)
|
||||
+ (
|
||||
"⚠️ The phone will be hung up soon due to a scheduled restart.\n"
|
||||
if self.bot.scheduled_shutdown.value
|
||||
else ""
|
||||
)
|
||||
)
|
||||
|
||||
@commands.command(aliases=["hang", "h"], extras={"help_name": "Hang Up"})
|
||||
|
||||
Reference in New Issue
Block a user