handle exclamation marks
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 4m27s
Build and push / sync-argocd-app (push) Successful in 2s
Build and push / post-status-to-discord (push) Successful in 2s
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 4m27s
Build and push / sync-argocd-app (push) Successful in 2s
Build and push / post-status-to-discord (push) Successful in 2s
This commit is contained in:
parent
8effb15bf7
commit
b85aeeecee
@ -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