21 Feb 2021 |
Jacob Tomlinson (Slack) | But we could definitely do something like putting a GitHub tag on skill repos and encouraging others to do the same, then add a section to the website that lists the top rated ones via the GitHub API | 13:57:24 |
Cadair | That would be cool as a learning resource. | 14:35:06 |
Cadair | Even if not a catalog | 14:35:32 |
Cadair | * Even if not a catalog | 14:36:55 |
24 Feb 2021 |
| oshien jindal joined the room. | 15:48:11 |
oshien jindal | Hi All,
I need one help. I am trying to setup custom database module in opsdroid. facing issue while calling it from a skill.I could not find a good reference for it.Can someone guid me what is the procedure to achieve?
Thanks | 16:07:44 |
oshien jindal | * Hi All,
I need one help. I am trying to setup custom database module in opsdroid. facing issue while calling it from a skill.I could not find a good reference for it.Can someone guid me what is the procedure to achieve?
Thanks | 16:08:14 |
Jacob Tomlinson (Slack) | Could you share an example of what you have tried and how it didnt work? | 16:08:31 |
oshien jindal | I followed the documentation code.
https://docs.opsdroid.dev/en/stable/databases/custom.html
I copied this code in one python file. and tried to import into my skill file and invoke the database functions on pattern match.
I am not sure if the procedure is correct or not. | 16:11:26 |
Jacob Tomlinson (Slack) | That doc page if for writing custom database backends for opsdroid. | 16:12:39 |
Jacob Tomlinson (Slack) | You might want to check out the memory page https://docs.opsdroid.dev/en/stable/skills/memory.html | 16:12:45 |
oshien jindal | I want to use posrgres as my database for the application. Any way to achieve it? | 16:14:31 |
Jacob Tomlinson (Slack) | Opsdroid currently doesn't support postgres natively. | 16:16:07 |
Jacob Tomlinson (Slack) | You could implement a custom backend for it and then load it as a database module. | 16:16:28 |
Jacob Tomlinson (Slack) | https://docs.opsdroid.dev/en/stable/packaging.html | 16:16:35 |
Jacob Tomlinson (Slack) | If you're up for writing this backend we would be very happy for you to contribute it as a core module | 16:17:29 |
Jacob Tomlinson (Slack) | https://github.com/opsdroid/opsdroid/tree/master/opsdroid/database | 16:17:46 |
25 Feb 2021 |
oshien jindal | Hi,
I followed the document and setup the custom db.
can you tell me how can we invoke/use this. I am not able to test whether I am connected to DB or not | 05:14:52 |
Jacob Tomlinson (Slack) | Look at the memory docs I sent before | 16:47:08 |
26 Feb 2021 |
Cadair | We will be having our monthly community call in ~10 minutes if anyone wants to join at https://meet.jit.si/opsdroid | 14:52:05 |
Cadair | @room opsdroid 0.21 has been released, mostly fixes and small changes, but adds a the ability to put a matrix access token in your config rather than a user name and password. For the full changelog see https://github.com/opsdroid/opsdroid/releases/tag/v0.21.0. It's up on PyPI, the docker images are still building. | 16:31:40 |
rainflake | oh nice! | 16:40:25 |
3 Mar 2021 |
| Jaykul joined the room. | 02:45:52 |
Jaykul | Is there any way to send formatted text (to Matrix, in particular) from an OpsDroid skill? | 03:14:37 |
Jaykul | I can't even figure out how to send a line break... | 03:23:08 |
Cadair | You can send HTML and it will send formatted. | 08:05:12 |
Cadair | I can't remember what it does with the plain text body. I think it strips the tags, not sure what effects that has on line breaks. | 08:06:21 |
Gergely Polonkai | AFAIK if the body is HTML, then it will be displayed as row HTML; you hove to use formatted_body and some other field to tell clients itʼs HTML | 13:28:22 |
Cadair | some clients don't support formatted body tho | 13:55:53 |
Cadair | it was those I was wondering about | 13:56:00 |