Archived
1
0
Fork 0
Commit graph

38 commits

Author SHA1 Message Date
Dianliang233
82b96c6cb0 Use asDisplay for calc 2023-01-22 20:28:09 +08:00
Dianliang233
4840efb858 Improve stderr decode 2023-01-21 17:08:04 +08:00
Dianliang233
f0dc43702a [SECURITY] Fix calc Shell Injection vulnerability 2023-01-21 17:01:10 +08:00
多洛狼
6d54165393 Update __init__.py 2023-01-21 15:11:13 +08:00
多洛狼
6e478b9f3a Update calc.py 2023-01-21 14:59:51 +08:00
Dianliang233
4629bdae1d Improvements for calc 2023-01-20 22:47:39 +08:00
Dianliang233
fa21f49c9b Add complex() 2023-01-20 16:45:13 +08:00
Dianliang233
d3c37b6b45 Add help message for bitwise functions 2023-01-20 16:37:18 +08:00
Dianliang233
8beb2fe74a Add help message for complex num 2023-01-20 16:25:42 +08:00
Dianliang233
5ff02ca743 Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-20 16:13:24 +08:00
yzhh
1e58b79872 Update __init__.py 2023-01-20 16:01:07 +08:00
yzhh
d86fc4d297 update 2023-01-20 16:00:11 +08:00
Dianliang233
c58445cd0b Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-20 15:50:52 +08:00
Dianliang233
f9c4d3ea2d Add complex number functions 2023-01-20 15:50:42 +08:00
yzhh
76fb0b940b Update __init__.py 2023-01-20 15:46:05 +08:00
yzhh
c436271048 Update __init__.py 2023-01-20 15:43:52 +08:00
Dianliang233
bc827b7b61 Revert "Trim newline at the end"
This reverts commit 9ccffb65e7.
2023-01-20 15:28:17 +08:00
Dianliang233
869c57f8da Fix statistics 2023-01-20 15:03:41 +08:00
Dianliang233
9ccffb65e7 Trim newline at the end 2023-01-20 14:16:09 +08:00
yzhh
edf45c8322 Update __init__.py 2023-01-20 01:21:08 +08:00
yzhh
b62fae4ca9 Update __init__.py 2023-01-20 01:13:11 +08:00
yzhh
4453ec1198 Update calc.py 2023-01-20 00:45:30 +08:00
yzhh
8716f6cdc9 update 2023-01-20 00:45:15 +08:00
yzhh
6b1d03c5b0 Update __init__.py 2023-01-19 23:16:47 +08:00
yzhh
a098f73967 Update __init__.py 2023-01-19 23:16:32 +08:00
yzhh
68243b3d24 Update __init__.py 2023-01-19 23:12:02 +08:00
yzhh
f818d65978 Update __init__.py 2023-01-19 23:10:08 +08:00
yzhh
feacf66221 Create calc.py 2023-01-19 23:10:06 +08:00
Dianliang233
08f62ed315 Limit calc to superuser 2023-01-19 21:46:06 +08:00
Dianliang233
5e51466c86 Add statistics functions to calc 2023-01-19 19:52:05 +08:00
Dianliang233
75df878b01 Add hard cap for all math functions 2023-01-19 19:27:31 +08:00
Dianliang233
d28b0647fb Disable all math functions 2023-01-19 17:53:41 +08:00
Dianliang233
003784696b Wrap with async function
Finally now I can calc pi * (3 ** 2)
2023-01-19 17:09:56 +08:00
Dianliang233
430f56491c Fix await 2023-01-19 17:05:50 +08:00
Dianliang233
d63c609284 aio.timeout-> wait_for, ensure max compatibility 2023-01-19 17:03:47 +08:00
Dianliang233
43f6996955 Add Python math module functions to calc 2023-01-19 16:55:12 +08:00
yzhh
e00bace069 add NoReportException for calc module 2023-01-19 15:28:01 +08:00
Dianliang233
a81d91929b Introduce a saferish version of eval 2023-01-17 10:59:22 +08:00