概要
Quote allows you to quote messages in a better way

Quote allows you to quote messages in a better way
🎫 Invite to your server
Usage
>
Quote a message that contains text from the same channel and replace your message with an embed.
``
Quote a message by the URL and replace your message with an embed.
/help
Shows this help
Required Permissions
- Manage Webhooks
- Read Messages
- Send Messages
- Manage Messages
- Embed Links
- Read Message History
How it works
Quote uses Discord's Webhook API to send messages with a customised username and an avatar. We delete the original message and use this technique to pretend the message as if it was sent by another user.
FAQ
Quote didn't find the message despite I used the command properly
Due to Discord's API limitation, the number of messages you can go back is restricted up to 100. Alternatively, we provide another way that uses URL to quote so you can use it to avoid the issue.
Quote doesn't work on my server! What's wrong?
There's several possible scenarios. Check the following cases:
Permisson is not enough
See Required Permissions section above and give enough permissions for running Quote.
2FA (Two-factor Authentication) is required on your server
Since Quote using some admin-level features such as "Manage Messages", you need to disable 2FA otherwise it will not work properly.
Why my message has a badge BOT?
Since Quote uses Discord's Webhook API to replace your message, the embed was actually sent by the bot though it is pretended as if you sent it.
This is an awesome idea! Why doesn't the Discord team implement it officially?
I don't know ¯\\\(ツ)\/¯ Tell them to hire me.
Deployment
Requirements
- Node.js >= 12
- Yarn
- Git
First of all, clone this repository using git.
git clone https://github.com/neet/quote.git
Copy the example of cofiguration file then edit it
cp .env.example .env
vim .env
Here's the detail of the environment variables
| env | nullability | description |
| :- | :- | :- |
| DISCORD_TOKEN | required | Access token of your Discord bot |
| DISCORD_WEBHOOK_NAME | optional | Namespace of Webhook API which will be used for identifying channels. Defaults to quote |
| NODE_ENV | optional | You can set procution to enable some optimisations |
Then, install Node.js dependencies with Yarn
yarn
Then build the programme written in TypeScript into runnable JavaScript
yarn run build
Finally, you can start the bot by the following command:
node ./dist/index.js
言語
- English
コミュニティレビュー
ログイン — レビューを書くにはログインしてください。
まだレビューがありません — 最初に体験を共有しましょう。
投票の統計
このガイドで過去30日間に記録されたものです。
過去30日間
- 投票
過去30日間、ここでの投票はありません。
