Tag: 1.22

Intermediate commits (oldest → newest):
- Fun addition
- BGFX
- fx
- aas
- saving repeatable promtp
- bugfix
- BGFX
- BGFX
- FX
- New deploy
- dsd
- DDD
- Jak wiele literowek mozna zrobic w dwoch slowach
- Testr
- kurwa serio
- serio kurwa ja pierdole niech to kurwa bedzie ostatnia poprawka debilnego błedu w tym pierdolonym kodzie
- 1111
- FX
- -
- Some would say it's ccr. But I'm not i*n.
- tcxy
- THis commit should be theoretically the last
- Fuck whoever designed dicts in python that way
- ied
- All thirteen
- FIX
- TEst
This commit is contained in:
2025-10-30 16:59:17 +01:00
parent 7cb3d61d72
commit faa5de2a0c
8 changed files with 294 additions and 92 deletions
+20
View File
@@ -84,3 +84,23 @@ async def get_stats(client, ctx, history_limit):
stats[word] = 1
for name, how_many in stats.items():
yield name, how_many
async def discord_friendly_reply(ctx, message_content, file=None):
if len(message_content) < 999:
await ctx.reply(message_content)
else:
while len(message_content) > 999:
await ctx.reply(message_content[:999])
message_content = message_content[999:]
if file:
await ctx.reply("Attachment:", file=file)
async def discord_friendly_send(ctx, message_content, file=None):
if len(message_content) < 999:
await ctx.send(message_content)
else:
while len(message_content) > 999:
await ctx.send(message_content[:999])
message_content = message_content[999:]
if file:
await ctx.reply("Attachment:", file=file)