Skip to content

Commit

Permalink
Merge pull request #120 from harmony-one/qr_default_prompt
Browse files Browse the repository at this point in the history
Added default prompt for /qr command
  • Loading branch information
theofandrich authored Aug 17, 2023
2 parents e92cff7 + 96ed38a commit 0117d2e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/modules/qrcode/QRCodeBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ export class QRCodeBot {
const command = this.parseQrCommand(message);

if (command.error || !command.command || !command.url || !command.prompt) {
ctx.reply(`
Please add <URL> <PROMPT>
/qr h.country/ai Dramatic bonfire on a remote beach, captured at the magic hour with flames dancing against the twilight sky; using a shallow depth of field, a fast lens, and controlled exposure to emphasize the intricate patterns and textures of the fire, complemented by embers in the wind and the gentle glow reflecting on the ocean's edge, moody, intense, and alive.`, {
disable_web_page_preview: true,
});
return
command.url = 'https://s.country/ai';
command.prompt = 'astronaut, exuberant, anime girl, smile, sky, colorful'
// ctx.reply(`
// Please add <URL> <PROMPT>
//
// /qr h.country/ai Dramatic bonfire on a remote beach, captured at the magic hour with flames dancing against the twilight sky; using a shallow depth of field, a fast lens, and controlled exposure to emphasize the intricate patterns and textures of the fire, complemented by embers in the wind and the gentle glow reflecting on the ocean's edge, moody, intense, and alive.`, {
// disable_web_page_preview: true,
// });
// return
}

// ctx.reply(`Generating...`);
Expand Down

0 comments on commit 0117d2e

Please sign in to comment.