Created
July 20, 2018 18:51
-
-
Save jacobtomlinson/6dd35e0f62d6b779d3d0d140f338d3e5 to your computer and use it in GitHub Desktop.
Ping opsdroid skill for testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from opsdroid.matchers import match_regex | |
@match_regex(r'ping') | |
async def ping(opsdroid, config, message): | |
await message.respond('pong') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment