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