Input correct reference content
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
64b2045d63
commit
318057a585
1 changed files with 3 additions and 3 deletions
|
@ -69,10 +69,10 @@ class Starboard(commands.Cog):
|
|||
except discord.HTTPException:
|
||||
pass
|
||||
else:
|
||||
text = message.content.splitlines()[0]
|
||||
text = ref_message.content.splitlines()[0]
|
||||
v = f"[{ref_message.author.mention}'s message: ]({ref_message.jump_url})"
|
||||
l = 1024 - len(v)
|
||||
t = textwrap.shorten(text, l, placeholder="...")
|
||||
remaining = 1024 - len(v)
|
||||
t = textwrap.shorten(text, remaining, placeholder="...")
|
||||
v = f"[{ref_message.author.display_name}'s message: {t}]({ref_message.jump_url})"
|
||||
embed.add_field(
|
||||
name="Replying to",
|
||||
|
|
Loading…
Reference in a new issue