RoboDanny
RoboDanny copied to clipboard
Export tags through ?tag all --json
Same as ?tag all --text
, except it exports the content as JSON, with the tag's content. Closes #83. Example export:
{"id":3,"name":"codeblocks","owner_id":336733686529654798,"uses":1,"can_delete":true,"is_alias":false,"content":"Use codeblocks for formatting code:\n\\`\\`\\`<language name>\n<your code here>\n\\`\\`\\`\n\nFor example:\n\\`\\`\\`python\nif True:\n print(\"Hi!\")\n\\`\\`\\`\nProduces:\n```python\nif True:\n print(\"Hi!\")\n```"}
~~Just realized that ?tag all --json
only exports the latest tag instead of all of them. Fixing that now.~~
All tags are exported. Aliases are exported with the tags content.
Any update on this PR? This is a feature that would greatly help me.
From what I understand, R. Danny is no longer being worked on and is only functioning until the message intent kills it. I don't think the PR will be merged
That's sad tbh, R. Danny being phased out was one of the main reasons I wanted an export, so that I can have tags backed up in plaintext.
From what I understand, R. Danny is no longer being worked on and is only functioning until the message intent kills it. I don't think the PR will be merged
R.danny has been verified, I think this pr is fine to be merged if Danny likes the concept and code.