Not everyone remembers to ScryFall quote cards. It might be nice to have the bot scan all new messages and ScryFall quote things for the bot that are likely MTG cards. @synsypa @DoubleSec
Notes
Should be toggleable
Should not auto-ScryFall quote something that has recently been ScryFall quoted (time-based? last 1000 messages?)
Needs to guess what things are MTG cards and what things are not (train something to predict if a single word or a bigram is a magic card name or not; how many MTG card names are more than bigrams?)... or we could just store a list of all MTG card names...)
if the message already has [[ ]], should not try to auto-quote
Exclude someone common words (that are also MTG names; maybe compare against a simple dictionary)
Checkpoints
Build on/off button (should send a message) to the chat message
Make sure that just inserting [[ and ]] around some words triggers a lookup to ScryFall Bot
Description
Not everyone remembers to ScryFall quote cards. It might be nice to have the bot scan all new messages and ScryFall quote things for the bot that are likely MTG cards. @synsypa @DoubleSec
Notes
train something to predict if a single word or a bigram is a magic card name or not; how many MTG card names are more than bigrams?)... or we could just store a list of all MTG card names...)Checkpoints
[[
and]]
around some words triggers a lookup to ScryFall Bot