Added a README
This commit is contained in:
parent
d6adfe8848
commit
b3f2ebb474
|
@ -0,0 +1,25 @@
|
||||||
|
# matrix-emoji-upload
|
||||||
|
|
||||||
|
Automated emoji uploader for Matrix.
|
||||||
|
|
||||||
|
Very janky and without any guarantees.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Install dependencies:
|
||||||
|
|
||||||
|
`pip -r requirements.txt`
|
||||||
|
|
||||||
|
Run as a CLI command:
|
||||||
|
|
||||||
|
```
|
||||||
|
python emoji-upload [-h] --tag TAG --token TOKEN --instance INSTANCE emoji_file [emoji_file ...]
|
||||||
|
|
||||||
|
positional arguments:
|
||||||
|
emoji_file a list of files to upload
|
||||||
|
|
||||||
|
options:
|
||||||
|
--tag TAG the Matrix handle of the user
|
||||||
|
--token TOKEN a Matrix account bearer token
|
||||||
|
--instance INSTANCE a Matrix instance domain
|
||||||
|
```
|
2
main.py
2
main.py
|
@ -103,7 +103,7 @@ if __name__ == "__main__":
|
||||||
description="Batch upload emojis to Matrix")
|
description="Batch upload emojis to Matrix")
|
||||||
|
|
||||||
parser.add_argument("files",
|
parser.add_argument("files",
|
||||||
metavar="F",
|
metavar="emoji_file",
|
||||||
type=str,
|
type=str,
|
||||||
nargs="+",
|
nargs="+",
|
||||||
help="a list of files to upload")
|
help="a list of files to upload")
|
||||||
|
|
Loading…
Reference in New Issue