mirror of
https://github.com/miaowware/qrm2.git
synced 2026-04-11 01:25:37 -04:00
render morse conversion output in fixed width, and escape bullets at the start of morse deconversion
Some checks failed
Linting / flake8 (push) Has been cancelled
Some checks failed
Linting / flake8 (push) Has been cancelled
Fixes: #484
This commit is contained in:
parent
6b4f985f07
commit
bff289d168
@ -15,6 +15,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Fix indentation in some text responses.
|
||||
### Removed
|
||||
- Deprecated `ae7q` extension from the default configuration (#486).
|
||||
### Fixed
|
||||
- Issue where ?morse/?demorse outputs beginning with `-` rendered as a bulleted list (#484).
|
||||
|
||||
|
||||
## [2.9.2] - 2023-12-15
|
||||
|
||||
@ -34,7 +34,7 @@ class MorseCog(commands.Cog):
|
||||
result += " "
|
||||
embed = cmn.embed_factory(ctx)
|
||||
embed.title = f"Morse Code for {msg}"
|
||||
embed.description = "**" + result + "**"
|
||||
embed.description = "**`" + result + "`**"
|
||||
embed.colour = cmn.colours.good
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
@ -54,7 +54,7 @@ class MorseCog(commands.Cog):
|
||||
result += " "
|
||||
embed = cmn.embed_factory(ctx)
|
||||
embed.title = f"ASCII for {msg0}"
|
||||
embed.description = result
|
||||
embed.description = "`" + result + "`"
|
||||
embed.colour = cmn.colours.good
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user