This file contains 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
{ | |
"info": { | |
"_postman_id": "07c117b0-7200-41b9-94fc-5836a6b08d7b", | |
"name": "Kafka Rest Proxy API", | |
"description": "Adapted from https://docs.confluent.io/current/kafka-rest/api.html", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "v2", |
This file contains 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
import hangups | |
import plugins | |
def _initialise(bot): | |
plugins.register_admin_command(["sendmessage"]) | |
def sendmessage(bot, event, *args): | |
"""Send a hard-coded message""" |