예제 #1
0
async def owo(context):
    """ Makes messages become OwO. """
    try:
        message = await obtain_message(context)
    except ValueError:
        await context.edit(lang('arg_error'))
        return
    result = owoify(message)
    await edit_reply(result, context)
예제 #2
0
파일: fun.py 프로젝트: stykers/pagermaid
async def owo(context):
    """ Makes messages become OwO. """
    try:
        message = await obtain_message(context)
    except ValueError:
        await context.edit("Invalid argument.")
        return
    result = owoify(message)
    await edit_reply(result, context)