Compare commits
2 Commits
29cbd77e35
...
5aa5b1852a
Author | SHA1 | Date |
---|---|---|
|
5aa5b1852a | |
|
c3cadc3169 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.29.5",
|
||||
"version": "1.29.6",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "schat2-clive",
|
||||
"version": "1.29.5",
|
||||
"version": "1.29.6",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^8.3.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.29.5",
|
||||
"version": "1.29.6",
|
||||
"description": "Game host for SChat 2-powered chat sites",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -144,7 +144,12 @@ function define(word, context) {
|
|||
return;
|
||||
}
|
||||
|
||||
context.sendMessage(`No definition available for ${style.bold(word)}, ${config.usernamePrefix}${context.user.username}`, context.room.id);
|
||||
if (answer) {
|
||||
context.sendMessage(`${style.bold(word)} is in my dictionary, but I cannot provide a definition, ${config.usernamePrefix}${context.user.username}`, context.room.id);
|
||||
return;
|
||||
}
|
||||
|
||||
context.sendMessage(`${style.bold(word)} is not in my dictionary, ${config.usernamePrefix}${context.user.username}`, context.room.id);
|
||||
}
|
||||
|
||||
function sanitizeDefinition(definition, answers) {
|
||||
|
|
Loading…
Reference in New Issue