| … | … | @@ -199,7 +199,7 @@ bogbot.query = async (query) => { |
| 199 | 199 | const search = query.substring(1).replace(/%20/g, ' ').toUpperCase() |
| 200 | 200 | const result = openedLog.filter(msg => msg.text && msg.text.toUpperCase().includes(search)) |
| 201 | 201 | return result |
| 202 | } else if (arraystore[0]) { | |
| 202 | } else if (openedLog[0]) { | |
| 203 | 203 | const result = openedLog.filter(msg => msg.author == query || msg.hash == query) |
| 204 | 204 | return result |
| 205 | 205 | } |