handle exclamation marks
This commit is contained in:
parent
2763976253
commit
9579d54602
@ -393,8 +393,12 @@ class Cheeky(commands.Cog):
|
||||
)
|
||||
async def bigtext(self, ctx: commands.Context, input_string: str):
|
||||
final = [
|
||||
":regional_indicator_{}:".format(c) if c != " " else " "
|
||||
for c in input_string
|
||||
(
|
||||
":exclamation:"
|
||||
if c == "!"
|
||||
else ":regional_indicator_{}:".format(c) if c != " " else " "
|
||||
)
|
||||
for c in input_string.lower()
|
||||
]
|
||||
|
||||
await ctx.respond("".join(final))
|
||||
|
Loading…
x
Reference in New Issue
Block a user