Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Jul 13, 2024
1 parent ea61d6f commit b8b4242
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/pangu/pangu-module.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import pangu from 'https://cdn.skypack.dev/pangu@4.0.7';
var original_pushMessage = pushMessage
function pushMessage(args, options = {},padId="messages",makeunread=true){
if(args.text){
args.text=pangu.spacing(args.text)
}
original_pushMessage(args, options, padId, makeunread)
pangu.autoSpacingPage()
}
pangu.autoSpacingPage()
console.log("Pangu Loaded!")

0 comments on commit b8b4242

Please sign in to comment.