add some more options
- add extra reply options - fix mentions
This commit is contained in:
parent
2a6cf879b6
commit
e2ece557c2
20
index.js
20
index.js
|
@ -53,25 +53,33 @@ function initiateSettings(socket) {
|
||||||
// return random suggestion string
|
// return random suggestion string
|
||||||
function suggestion(username) {
|
function suggestion(username) {
|
||||||
|
|
||||||
const n = crypto.randomInt(8)
|
const n = crypto.randomInt(12)
|
||||||
|
|
||||||
switch(n) {
|
switch(n) {
|
||||||
case 0:
|
case 0:
|
||||||
return 'How about logging off instead?';
|
return 'How about logging off instead?';
|
||||||
case 1:
|
case 1:
|
||||||
return `Would you like to delete your toot, ${username}?`;
|
return `Would you like to delete your toot, @${username}?`;
|
||||||
case 2:
|
case 2:
|
||||||
return 'Can I help you take a walk outside?';
|
return 'Can I help you take a walk outside? 🚶➡️';
|
||||||
case 3:
|
case 3:
|
||||||
return 'You may like to reconsider your life choices.';
|
return 'You may like to reconsider your life choices.';
|
||||||
case 4:
|
case 4:
|
||||||
return 'Why not try looking at #CatsOfMastodon instead?';
|
return 'Why not try looking at #CatsOfMastodon instead?';
|
||||||
case 5:
|
case 5:
|
||||||
return `Come on ${username}, we've talked about this.`;
|
return `Come on @${username}, we've talked about this. 🤷♂️`;
|
||||||
case 6:
|
case 6:
|
||||||
return `You should go look at some trees. Trees are calming`;
|
return `You should go look at some trees. Trees are calming 🌳`;
|
||||||
case 7:
|
case 7:
|
||||||
return `I'm not angry. I'm just very disappointed.`;
|
return `I'm not angry. I'm just very disappointed. 😔`;
|
||||||
|
case 8:
|
||||||
|
return `You said you were going to stop doing that ...and yet here we are.`;
|
||||||
|
case 9:
|
||||||
|
return `Time to touch some grass 🌱`;
|
||||||
|
case 10:
|
||||||
|
return `Why not have a nice cup of tea instead? 🫖`;
|
||||||
|
case 11:
|
||||||
|
return `And yet you still haven't read all of those books in your TBR pile. 🤔`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue