Final *finalize* UI Texts and some typos
This commit is contained in:
@@ -36,7 +36,7 @@ async def cmd_forcevote(ctx):
|
||||
|
||||
@module.cmd(
|
||||
"vote",
|
||||
desc="Get Top.gg bot's link for Economy boost.",
|
||||
desc="Get top.gg boost for 25% more LCs.",
|
||||
group="Economy",
|
||||
aliases=('topgg', 'topggvote', 'upvote')
|
||||
)
|
||||
@@ -61,16 +61,16 @@ async def cmd_vote(ctx):
|
||||
|
||||
|
||||
@module.cmd(
|
||||
"vote_remainder",
|
||||
"vote_reminder",
|
||||
group="Personal Settings",
|
||||
desc="Turn on/off DM Remainder to Upvote me."
|
||||
desc="Turn on/off boost reminders."
|
||||
)
|
||||
async def cmd_remind_vote(ctx):
|
||||
"""
|
||||
Usage``:
|
||||
{prefix}vote_remainder on
|
||||
{prefix}vote_remainder off
|
||||
Usage:
|
||||
`{prefix}vote_reminder on`
|
||||
`{prefix}vote_reminder off`
|
||||
|
||||
Use this setting to enable/disable DM remainders from me to upvote on Top.gg.
|
||||
Enable or disable DM boost reminders.
|
||||
"""
|
||||
await UserSettings.settings.vote_remainder.command(ctx, ctx.author.id)
|
||||
|
||||
@@ -13,9 +13,9 @@ class topgg_vote_remainder(Boolean, UserSetting):
|
||||
|
||||
_default = True
|
||||
|
||||
display_name = 'Upvote Remainder'
|
||||
desc = "Turn on/off DM Remainders to Upvote me."
|
||||
long_desc = "Use this setting to enable/disable DM remainders from me to upvote on Top.gg."
|
||||
display_name = 'Upvote Reminder'
|
||||
desc = "Turn on/off DM Reminders to Upvote me."
|
||||
long_desc = ("Enable or disable DM boost reminders.",)
|
||||
|
||||
@property
|
||||
def success_response(self):
|
||||
@@ -24,9 +24,9 @@ class topgg_vote_remainder(Boolean, UserSetting):
|
||||
create_remainder(self.id)
|
||||
|
||||
return (
|
||||
"Remainder, in your DMs, to upvote me are {}.\n\n"
|
||||
"`Do make sure that I can DM you.`"
|
||||
).format(self.formatted)
|
||||
" I will send you boost reminders.\n\n"
|
||||
"`Please make sure your DMs are open.`"
|
||||
)
|
||||
else:
|
||||
# Check if reminder is already running and get its id
|
||||
r = reminders.select_one_where(
|
||||
@@ -41,5 +41,5 @@ class topgg_vote_remainder(Boolean, UserSetting):
|
||||
Reminder.delete(r['reminderid'])
|
||||
|
||||
return (
|
||||
"Remainder, in your DMs, to upvote me are Off."
|
||||
).format(self.formatted)
|
||||
" I won't send you boost reminders."
|
||||
)
|
||||
@@ -12,7 +12,7 @@ from . import data as db
|
||||
from data.conditions import GEQ
|
||||
|
||||
topgg_upvote_link = 'https://top.gg/bot/889078613817831495/vote'
|
||||
remainder_content = "You can now Upvote me again in Top.gg. \nMy Upvote link is [here]({})".format(topgg_upvote_link)
|
||||
remainder_content = "You can now vote again on top.gg!\nClick [here]({}) to vote, thank you for the support!".format(topgg_upvote_link)
|
||||
|
||||
lion_loveemote = '<:lionloveemote:933003977656795136>'
|
||||
lion_yayemote = '<:lionyayemote:933003929229352990>'
|
||||
@@ -45,9 +45,9 @@ def create_remainder(userid):
|
||||
message_link=None,
|
||||
interval=None,
|
||||
title="Your boost is now available! {}".format(lion_yayemote),
|
||||
footer="to stop reminders, use `{}vote_reminder off` command",
|
||||
# remind_at=last_vote_time[0] + datetime.timedelta(hours=12.5) if last_vote_time else datetime.datetime.utcnow() + datetime.timedelta(minutes=5)
|
||||
remind_at=datetime.datetime.utcnow() + datetime.timedelta(minutes=2)
|
||||
footer="Use `{}vote_reminder off` to stop receiving reminders.",
|
||||
remind_at=last_vote_time[0] + datetime.timedelta(hours=12.5) if last_vote_time else datetime.datetime.utcnow() + datetime.timedelta(minutes=5)
|
||||
# remind_at=datetime.datetime.utcnow() + datetime.timedelta(minutes=2)
|
||||
)
|
||||
|
||||
# Schedule reminder
|
||||
|
||||
Reference in New Issue
Block a user