mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
Add quick discord chat exporter
This commit is contained in:
parent
5a61f81191
commit
be1d8436e6
1 changed files with 8 additions and 0 deletions
8
functions/discord_export.fish
Normal file
8
functions/discord_export.fish
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
function discord_export
|
||||||
|
if test -z "$DISCORD_TOKEN_BOT"
|
||||||
|
echo_error "\$DISCORD_TOKEN_BOT is not set."
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
|
||||||
|
discord-chat-exporter-cli export -c" $argv"
|
||||||
|
end
|
Loading…
Reference in a new issue