Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions data/plugins/thirdparty/NewsAPI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: NewsAPI
repo: https://github.com/constantinedev/NewsAPI
license: MIT
author: constantinedev

description:
This code for example how to use the requests modules in mautrix bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be proper YAML format otherwise the page will throw an error. please test your changes by building the site with Hugo.

support the basic command to reply messaqge with the reslut
I won't custom the reply message just for retuen all the json for test.

This example are showing how to trigger the request by matrix-bot command

antifeatures: []

public_instances: []