รายละเอียด
แนะนำ
v1.0
Gecco Bot

Gecco Bot

0
0
0
#เครื่องมือ
#เครื่องมือ
#บอทดิสคอร์ด

this Discord bot is for anyone using stable diffusion image generation.

It can pull images from a specified directory, rename them via index (0.png, 1.png, 2.png) and post them in the discord chat.

To set it up, create a bot on the https://discord.com/developers/applications portal first and generate your bot token.

open the .env file and replace the "your-bot-token-here" string with your actual bot token.

open the bot.py and specify the directory you want to pull images from by replacing "YOUR/FILE/DIRECTORY/TO/PULL/IMAGES/FROM" with your local output folder from SD (or any other images directory containing .png files)

to run the file, you need the following python packages:

nextcord, install with 'pip install nextcord' dotenv, install with 'pip install python-dotenv'

save the files, and you're good to go.

The bot comes with the following commands:

!hi (Hello!) : Ping command to test if the bot is working

!commandlist : prints a list of available commands

!pull : command to iterate over files in source directory (defined in a variable in the code) and move them to bot directory "images" folder

!prepare : command to rename all images in the "images" folder in the bot directory by index in preparation of !imagedump

!imagedump : command to post all images in the "images" folder in the bot directory, then rename them with timestamp and move to the "uploaded" folder

!imageget : command to post a single image from the "images" folder in the bot directory, syntax: !imageget

!go : command to execute all three main functions in one go, pull, prepare and imagedump

These functions allow access to the generated files on the go by pulling them into the chat and then to your mobile device.

If you find yourself using this bot regularly, consider buying me a coffee - or a golden house, or gecco food, idc.

https://www.buymeacoffee.com/cybersnacc

enjoy

  • shoutout and credit to Max Teaches Tech for getting me started on Discord bots. If you struggle to activate the bot on your server, be sure to check out his Youtube Channel! https://www.youtube.com/@MaxTeachesTech

ดูการแปล

การให้คะแนนและความคิดเห็น

-- /5
0 คะแนน

ยังไม่ได้รับคะแนนหรือความคิดเห็นเพียงพอ

no-data
ยังไม่มีข้อมูล
ประกาศ
2024-07-25
เผยแพร่โมเดล
2023-05-03
อัปเดตข้อมูลโมเดล
รายละเอียดโมเดล
ประเภท
Other
เวลาโพสต์
2023-05-03
โมเดลพื้นฐาน
SD 1.5
ขอบเขตการอนุญาต
แหล่งที่มา: civitai

1. สิทธิ์ของโมเดลที่โพสต์ซ้ำเป็นของผู้สร้างต้นฉบับ

2. ผู้สร้างต้นฉบับที่ต้องการรับรองโมเดล โปรดติดต่อเจ้าหน้าที่ SeaArt AI ผ่านช่องทางทางการ คลิกเพื่อรับรอง

ขอบเขตการอนุญาตสร้างสรรค์
ถ่ายทอดสดออนไลน์
ผสมผสาน
อนุญาตให้ดาวน์โหลด
ขอบเขตการอนุญาตเชิงพาณิชย์
รูปภาพที่สร้างขึ้นสามารถขายหรือใช้เพื่อวัตถุประสงค์ทางการค้า
อนุญาตให้โมเดลขายต่อหรือขายหลังจากการรวม
QR Code
ดาวน์โหลดแอป SeaArt
ดำเนินการสร้างสรรค์ด้วย AI ต่อไปบนมือถือ