Adding a big text function
All checks were successful
Build and push / changes (push) Successful in 4s
Build and push / Lint-Python (push) Successful in 9s
Build and push / Build-and-Push-Docker (push) Successful in 1m38s
Build and push / post-status-to-discord (push) Successful in 2s
Build and push / sync-argocd-app (push) Successful in 3s
All checks were successful
Build and push / changes (push) Successful in 4s
Build and push / Lint-Python (push) Successful in 9s
Build and push / Build-and-Push-Docker (push) Successful in 1m38s
Build and push / post-status-to-discord (push) Successful in 2s
Build and push / sync-argocd-app (push) Successful in 3s
This commit is contained in:
parent
8c46a898f9
commit
8effb15bf7
@ -381,6 +381,24 @@ class Cheeky(commands.Cog):
|
||||
async def freebird(self, ctx: commands.Context):
|
||||
await ctx.respond("https://youtu.be/xTemcPZw8Eo?t=210")
|
||||
|
||||
@commands.slash_command(
|
||||
guild_ids=None,
|
||||
name="bigtext",
|
||||
description="Returns your text in big letters",
|
||||
)
|
||||
@option(
|
||||
name="input_string",
|
||||
description="The text you want to make big",
|
||||
required=True,
|
||||
)
|
||||
async def bigtext(self, ctx: commands.Context, input_string: str):
|
||||
final = [
|
||||
":regional_indicator_{}:".format(c) if c != " " else " "
|
||||
for c in input_string
|
||||
]
|
||||
|
||||
await ctx.respond("".join(final))
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Cheeky(bot))
|
||||
|
Loading…
x
Reference in New Issue
Block a user