13 lines
225 B
Python
Executable File
13 lines
225 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 trigger.group(2):
|
|
bot.say(trigger.group(2))
|