mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Make !ping command non-blocking
This commit is contained in:
parent
ba01dd9ce5
commit
6d1a9845b6
1 changed files with 1 additions and 0 deletions
|
@ -428,6 +428,7 @@ export class UtilityPlugin extends ZeppelinPlugin {
|
||||||
|
|
||||||
@d.command("ping")
|
@d.command("ping")
|
||||||
@d.permission("ping")
|
@d.permission("ping")
|
||||||
|
@d.nonBlocking()
|
||||||
async pingCmd(msg: Message) {
|
async pingCmd(msg: Message) {
|
||||||
const times = [];
|
const times = [];
|
||||||
const messages: Message[] = [];
|
const messages: Message[] = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue