misc.generate: add typing indicator
This commit is contained in:
parent
8ccd08d56c
commit
c9a54a999a
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ generate.category = CATEGORY;
|
|||
generate.helpText = "Generate images from prompt via craiyon";
|
||||
generate.callback = async function (msg, line) {
|
||||
if (!line || line.length === 0) return "Arguments required.";
|
||||
msg.channel.sendTyping();
|
||||
|
||||
const start = Date.now();
|
||||
let retries = 0;
|
||||
|
|
Loading…
Reference in a new issue