zydyck 中文文档教程

发布于 2年前 浏览 20 更新于 2年前

安装

使用 npm

$ npm install zydyck

:功能

- Delete All Channels
- Delete All Roles
- Create Channel
- Create Role
- Spam Webhook

授权支持

- user
- bot

示例代码

用户:

const Reflex = require("zydyck")
const reflex = new Reflex({
    authorization: "user",
    token: "",
    guildID: "",
    delay: 1000,
    channels: {
        name: "--channel-name--",
        type: 0,
        amount: 3
    },
    roles: {
        name: "--role-name--",
        amount: 1
    },
    webhooks: {
        name: "--webhook-name--",
        username: "--webhook-username--",
        avatar_url: "--image-url--",
        content: "--message-content--",
        amount: 3,
        embeds: {
            avatar: {
                name: "--text--",
                icon_url: "--image-url--"
            },
            title: "title",
            description: "description",
            thumbnail: {
                url: "--image-url--"
            },
            image: {
                url: "--image-url--"
            },
            footer: {
                text: "footer",
                icon_url: "--image-url--"
            }
        }
    }
})

Bot:

const reflex = new Reflex({
    authorization: "bot",
    token: "",
    guildID: "",
    delay: 1000,
    channels: {
        name: "--channel-name--",
        type: 0,
        amount: 3
    },
    roles: {
        name: "--role-name--",
        amount: 1
    },
    webhooks: {
        name: "--webhook-name--",
        username: "--webhook-username--",
        avatar_url: "--image-url--",
        content: "--message-content--",
        amount: 3,
        embeds: {
            avatar: {
                name: "--text--",
                icon_url: "--image-url--"
            },
            title: "title",
            description: "description",
            thumbnail: {
                url: "--image-url--"
            },
            image: {
                url: "--image-url--"
            },
            footer: {
                text: "footer",
                icon_url: "--image-url--"
            }
        }
    }
})

频道类型

文本频道:

$ 0 = text channel

语音频道:

$ 2 = vocie channel

类别频道:

$ 4 = text channel

开始代码

<reflex>.run()

Credits

Discord:

$ Reflex`#9999

Facebook:

$ https://www.facebook.com/reflexxyz?mibextid=ZbWKwL

区域:

$ th +66

Installing

Using npm:

$ npm install zydyck

Features

- Delete All Channels
- Delete All Roles
- Create Channel
- Create Role
- Spam Webhook

Authorization Support

- user
- bot

Example Code

User:

const Reflex = require("zydyck")
const reflex = new Reflex({
    authorization: "user",
    token: "",
    guildID: "",
    delay: 1000,
    channels: {
        name: "--channel-name--",
        type: 0,
        amount: 3
    },
    roles: {
        name: "--role-name--",
        amount: 1
    },
    webhooks: {
        name: "--webhook-name--",
        username: "--webhook-username--",
        avatar_url: "--image-url--",
        content: "--message-content--",
        amount: 3,
        embeds: {
            avatar: {
                name: "--text--",
                icon_url: "--image-url--"
            },
            title: "title",
            description: "description",
            thumbnail: {
                url: "--image-url--"
            },
            image: {
                url: "--image-url--"
            },
            footer: {
                text: "footer",
                icon_url: "--image-url--"
            }
        }
    }
})

Bot:

const reflex = new Reflex({
    authorization: "bot",
    token: "",
    guildID: "",
    delay: 1000,
    channels: {
        name: "--channel-name--",
        type: 0,
        amount: 3
    },
    roles: {
        name: "--role-name--",
        amount: 1
    },
    webhooks: {
        name: "--webhook-name--",
        username: "--webhook-username--",
        avatar_url: "--image-url--",
        content: "--message-content--",
        amount: 3,
        embeds: {
            avatar: {
                name: "--text--",
                icon_url: "--image-url--"
            },
            title: "title",
            description: "description",
            thumbnail: {
                url: "--image-url--"
            },
            image: {
                url: "--image-url--"
            },
            footer: {
                text: "footer",
                icon_url: "--image-url--"
            }
        }
    }
})

Channel Type

Text Channel:

$ 0 = text channel

Voice Channel:

$ 2 = vocie channel

Category Channel:

$ 4 = text channel

start code

<reflex>.run()

Credits

Discord:

$ Reflex`#9999

Facebook:

$ https://www.facebook.com/reflexxyz?mibextid=ZbWKwL

Region:

$ th +66
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文