Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jacobtomlinson
Created July 20, 2018 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobtomlinson/6dd35e0f62d6b779d3d0d140f338d3e5 to your computer and use it in GitHub Desktop.
Save jacobtomlinson/6dd35e0f62d6b779d3d0d140f338d3e5 to your computer and use it in GitHub Desktop.
Ping opsdroid skill for testing
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