アマデウス Memory storage and artificial intelligence system. Complex chatting AI bot for discord, also voice / music, streams trackers, WarCraft3 news, games trackers, various statistics/info grabbers.
Features • Cooking • Development • Service • Notes
/
)set activity 66
is default)~join ~play
)~veto
command)~vs
command)~bet
and emojis under Live tracking games~stats
, ~today
and more with info from wacraft3.info and W3C laddertokens.txt
file for poe API to workcargo build --release
or hake
cp conf.example.dhall conf.dhall
(initial constant options)cp conf.example.yml conf.yml
(those options may change in runtime)discord
, tenor_key
and optionally twitch
client datatwitch
value is OAuth access token, you can regenerate it with bot command ~twitch_token_update
let SType = < Safe
| Unsafe >
let Server : Type =
{ id: Natural, kind: SType }
let u = λ(id: Natural) → { id = id, kind = SType.Unsafe }
let s = λ(id: Natural) → { id = id, kind = SType.Safe }
let additional_servers : List Server =
[ u 676119422418550815 -- "Unsafe Server"
, s 728694826203349072 -- "Rusty Tools"
]
in { discord = "AAAAAAAAA.AAA.AAAA-AAAAAAA"
, app_id = 000000000000000000
, guild = 611822838831251466
, amadeus_guild = 740144638375231489
, servers = additional_servers
, twitch_client_id = "AAAAAA"
, twitch_client_secret = "AAAAAAAAAAAAAAAAAAAAAAAA"
, tenor_key = "AAAA"
, flo_secret = "AAAAAAAAAAAAAAA"
, gencache_on_start = True
, github_auth = "AccountName:access_token"
}
Optional Build Features:
trackers
- enable games trackers / w3info news trackers / streams trackersflo
- gather flo nodes information / register players / host gamesflotv
- GraphQL integration with flotv services to get keys for running gamesnaoko
- experimental Kafka integration with Naoko serviceggru
- streaming on GoodGame integration is optional due their instabilityspam_filter
- detect and early remove various phishing linksfull
- enable all (except naoko)cargo build --release --features flo,trackers
enabled by default,
use following to ignore non-needed features cargo build --release --no-default-features
installation environment for typescript parsing backend (optional) typescript replay parsing will be replaced in future.
npm install -D typescript
npm install -D ts-node
npm i @types/node
npm install w3gjs
to test typescript code you may run
node node_modules/ts-node/dist/bin.js ./js/w3g_parse.ts ./LastReplay.w3g > gg.out
Note: will lag at first run due pre-trained models downloading.
The models will be downloaded to the environment variable RUSTBERT_CACHE
if it exists, otherwise to ~/.cache/.rustbert
rustfmt usage is forbidden, stylish-haskell is a must, pep8 is OK
cp misc/Salieri.service /etc/systemd/system/Salieri.service
cp misc/Amadeus.service /etc/systemd/system/Amadeus.service
systemctl daemon-reload
systemctl enable Amadeus
systemctl start Amadeus
it's safe to rebuild and restart it
systemctl restart Amadeus