handle exclamation marks
This commit is contained in:
parent
7ffa9a5e21
commit
47adf49cd0
@ -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