This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
messages.py
44 lines (33 loc) · 3.18 KB
/
messages.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# messages to keep main clean
start = "Welcome to the Lightning picture bot by @f321x ! \n\nThis bot supports DALLE2 (censored) and Stable Diffusion (" \
"uncensored). \n\nI charge 1000 satoshi to pay for the picture generation and the server this bot is running on. " \
"\n\nFor more information press /help, otherwise have fun!!! "
todo = "You can now type in the image description you want to pass to the AI:"
help = "Type in a command for the AI like the examples you can find in the group chat, then pay the " \
"Lightning invoice with a Lightning enabled Bitcoin wallet like Blixt Wallet or Phoenix Wallet (easy), " \
"then the Bot will send you the generated Pictures after some time (minutes). You can set the seed for Stable " \
"Diffusion by appending /yourseed to the end of the prompt. The Seed has to be a number and max 9 " \
"digits.\n\nIf you have " \
"problems contact me on Telegram @f321x or read the source code of this Bot on github to understand how it " \
"works.\n\nIf you " \
"encounter any problems or didn't get a result press /problem .\n\nPress /source to see the source code of the " \
"bot.\n\nAlso don't use Bluewallet with the standard node as they have liquidity problems which will cause " \
"your payment to fail. "
terms = "These are the terms for DALLE2 https://labs.openai.com/policies/terms"
problem = "If you encounter any problem please contact @f321x on TG and i will refund or help you. \n\nIf you paid but " \
"didn't get a result please make a screenshot and send it to me with a refund invoice. \n\nThe reason for " \
"the failure is probably some weird error with the API which happens sometimes. "
violation = "Your message violated the OpenAI /terms so DALLE didn't return pictures. Please try not to violate the " \
"terms otherwise the account serving this bot will probably get banned. DALLE doesn't like politics, " \
"violence, public figures (names) and erotic stuff. Type in /terms to read them. \n\nIf you want " \
"uncensored image generation use Stable Diffusion for the weird stuff :D Thanks! \n\nIf this message is " \
"unreasonable and shows up repeatedly the DALLE API could also have some problems currently, in this case " \
"you should wait some hours and try again later or use Stable Diffusion instead. "
source = "https://github.com/f321x/lightningpicturebot"
group = "Also there is a little group chat in which you can discuss and share your pictures and bot experience: " \
"https://t.me/lightningpicturebotchat"
offline = "Unfortunately i had to deactivate the Bot because i can't guarantee flawless function. Please come back " \
"later "
api_error = "There is a problem with the OpenAI DALLE2 API. \n\nIf this error shows up multiple times you can either " \
"use Stable Diffusion or try again in some hours. Contact @f321x for a refund. "
start_nostr = "Welcome to the Lightningpicturebot! This bot can generate images from prompts with DALLE2 and Stable Diffusion text-to-image AI. To get started just type in your prompt with /p. For example: /p yellow duck with sunglasses."