async def mock(self, ctx: DogbotContext, *, text: clean_content): """mAkEs tExt Look LIkE thIs!""" spongemock = '<:spongemock:371555602964676610>' ev = random.randint(2, 4) result = [ character.upper() if not text.index(character) % ev == 0 else character.lower() for character in text ] await ctx.send(spongemock + ' ' + ''.join(result) + ' ' + spongemock)
async def mock(self, ctx, *, text: commands.clean_content): """ Mocks. """ ev = random.randint(2, 4) result = [character.upper() if not text.index(character) % ev == 0 else character.lower() for character in text] await ctx.send(''.join(result))