fulvia/modules/echo.py

13 lines
225 B
Python
Raw Normal View History

2018-03-16 03:13:43 -04:00
#!/usr/bin/env python3
"""
Echo.
"""
from module import commands, example
@commands('echo')
@example('.echo balloons')
def echo(bot, trigger):
"""Echos the given string."""
if trigger.group(2):
2018-05-25 15:21:18 -04:00
bot.msg(trigger.group(2))