Improve documentation and trim output.
This commit is contained in:
parent
8c71993886
commit
4c595d75d4
@ -81,10 +81,14 @@ You will have to quote the path on windows, or anywhere where the directory path
|
||||
|
||||
`--username` - supply a 'username' with the webhook submission. Slightly misleading, it basically provides some extra text next to the "Bot" display on the upload to the channel.
|
||||
|
||||
In the example screenshot, this was set to "tardisx uploaded from EDD".
|
||||
In the example screenshot at the top of this README, this was set to "tardisx uploaded from EDD".
|
||||
|
||||
`--debug` - provide extra debugging.
|
||||
|
||||
## Example
|
||||
|
||||

|
||||
|
||||
## Limitations/bugs
|
||||
|
||||
* Only files ending jpg, gif or png are uploaded.
|
||||
|
2
dau
2
dau
@ -107,7 +107,7 @@ sub upload {
|
||||
my $size = $res->json->{attachments}->[0]->{size};
|
||||
my $width = $res->json->{attachments}->[0]->{width};
|
||||
my $height = $res->json->{attachments}->[0]->{height};
|
||||
info("uploaded ${width}x${height} $size bytes images to $url, submitted to webhook successfully");
|
||||
info("uploaded ${width}x${height} $size byte image to $url");
|
||||
}
|
||||
else {
|
||||
debug(Dumper($tx));
|
||||
|
Loading…
x
Reference in New Issue
Block a user