mirror of
https://codeberg.org/ashley/poke
synced 2025-05-30 02:59:43 +00:00
oops
This commit is contained in:
parent
64433797f3
commit
e755ef3f4c
@ -512,6 +512,9 @@ Web </a>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%
|
<%
|
||||||
|
|
||||||
|
const query = q.toLowerCase().trim();
|
||||||
|
|
||||||
function isMathExpression(query) {
|
function isMathExpression(query) {
|
||||||
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
||||||
}
|
}
|
||||||
@ -675,10 +678,8 @@ const tzMap = {
|
|||||||
return now.toLocaleTimeString('en-US', options);
|
return now.toLocaleTimeString('en-US', options);
|
||||||
}
|
}
|
||||||
|
|
||||||
const query = q.toLowerCase().trim();
|
|
||||||
let answer = '';
|
let answer = '';
|
||||||
// 19 utility functions
|
|
||||||
|
|
||||||
function randomCompliment() {
|
function randomCompliment() {
|
||||||
const compliments = [
|
const compliments = [
|
||||||
"You’re an awesome friend.",
|
"You’re an awesome friend.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user