Delete quest.js

This commit is contained in:
Nick Walton 2020-05-27 17:14:41 -06:00 committed by GitHub
parent e9d20ca016
commit c77a425744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +0,0 @@
module.exports = async function({text}) {
if(!state?.quests){
state.quests = {current: 'kill a dragon'}
}
const completed = await utils.checkQuestCompleted({history, quest: state.quests.current, text})
state.message = 'Completed your quest? ' + completed
return {text}
}