Last active
November 14, 2024 08:44
-
-
Save fu-sen/d720719c4ddd18545e224587f2b16314 to your computer and use it in GitHub Desktop.
Nostr あんこ…… bot - npub1ank0k9x0zf4ds6rd50deehhd6jplwpuwfcr8yd57qldytus8f2dq3mmmyc - https://nostter.app/anko@balloon-jp.vercel.app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# install algia ( https://github.com/mattn/algia ) | |
# mv config-anko.json ~/.config/algia/ | |
# (or MOVE config-anko.json ~\AppData\Roaming\algia\) | |
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 ) | |
# crontab -e | |
# 0 * * * * ~~~/nostr-anko.sh (毎時 0 分) | |
ANKO=( | |
"あんこ……" | |
"アイス……あんこ……" | |
"あんころ餅……あんこ……" | |
"あんドーナツ……あんこ……" | |
"あんこ……" | |
"あんぱん……あんこ……" | |
"あんまん……あんこ……" | |
"あんみつ……あんこ……" | |
"あんこ……" | |
"今川焼き……あんこ……" | |
"小倉トーストー……あんこ……" | |
"おしるこ……あんこ……" | |
"あんこ……" | |
"おはぎ……あんこ……" | |
"草餅……あんこ……" | |
"桜餅……あんこ……" | |
"あんこ……" | |
"白玉……あんこ……" | |
"水ようかん……あんこ……" | |
"ぜんざい……あんこ……" | |
"あんこ……" | |
"たい焼き……あんこ……" | |
"大福……あんこ……" | |
"だんご……あんこ……" | |
"あんこ……" | |
"どら焼き……あんこ……" | |
"ベイクドモチョチョ……あんこ……" | |
"ぼた餅……あんこ……" | |
"あんこ……" | |
"まんじゅう……あんこ……" | |
"ようかん……あんこ……" | |
) | |
algia -a anko n \ | |
--emoji="meow_droolreach"="https://nyan-pu.pages.dev/1/meow_droolreach.png" \ | |
"${ANKO[$(($RANDOM % ${#ANKO[*]}))]}" ":meow_droolreach:" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment