Adding a big text function

This commit is contained in:
Luke Robles 2025-02-10 17:35:37 -08:00
parent 080eff9b62
commit 7ffa9a5e21

View File

@ -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))