fulvia/modules/echo.py
2020-01-07 18:58:19 -05:00

13 lines
241 B
Python
Executable File

#!/usr/bin/env python3
"""
Echo.
"""
from module import commands, example
@commands('echo')
@example('.echo balloons')
def echo(bot, trigger):
"""Echos the given string."""
if len(trigger.args) >= 2:
bot.msg(' '.join(trigger.args[1:]))