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