mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修改系统内置通知模块名称,避免重复
This commit is contained in:
@@ -98,7 +98,7 @@ try {
|
||||
|
||||
run();
|
||||
|
||||
const { sendNotify } = require('./notify.js');
|
||||
const { sendNotify } = require('./__ql_notify__.js');
|
||||
global.QLAPI = {
|
||||
notify: sendNotify,
|
||||
...client,
|
||||
|
||||
@@ -107,7 +107,7 @@ try:
|
||||
|
||||
run()
|
||||
|
||||
from notify import send
|
||||
from __ql_notify__ import send
|
||||
|
||||
class BaseApi(Client):
|
||||
def notify(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user