DandJourney

A MidJourney Wrapper named DandJourney!

Deploy DandJourney

DandJourney

yuexdang/DandJourney

Just deployed

机器人创建

注册一个机器人

进入Discord开发者平台

点击注册组件 image

点击注册组件并填写信息

image

点击Bot进入机器人设置页面

image

勾选下方的三个选项(是否允许机器人收发消息等)并获得变量 BOT_TOKEN(String)

image image

点击OAuth2 -> URL Generator,调整设置生成链接

image image

访问生成的链接,选择服务器,任务完成🎉

获得频道信息

进入你所需要的频道

此时url的内容为 https://discord.com/channels/ SERVER_ID(Integer) / CHANNEL_ID(Integer)

氪金玩家的代号

使用氪金账号随便执行一条指令

在开发者工具 -> 网络 中找到最近的 interactions 请求,在请求标头中找到 authorization: VIP_TOKEN(String)

自此,关于DandJourney宏观配置的四个变量已经收集完毕

Tips: 需要将机器人的配置设置为如图所示,以免自带参数影响图片生成 image


机器人部署

部署前的准备

目前还缺失两个参数:BOT_NAMECHANNEL_SIGN

BOT_NAME ☞ 机器人的名称

CHANNEL_SIGN ☞ 是否需要适应不同频道(默认为True)


Template Content

More templates in this category

View Template

Telegram JavaScript Bot

A template for Telegram bot in JavaScript using grammY


View Template

DiscordJS bot

A basic Discord bot written in JavaScript


View Template

Discord-TS 'Most Likely To Minigame' Bot

A simple "Most Likely To" minigame.