Iku/Google-Forms-to-Discord
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Create a Google Form for use with this script
Make the form however you’d like.
Go to the Script editor.
Paste the contents of google script.js .
Open Discord and make a channel where you’d like the responses to be sent.
Create a webhook and copy the URL. Replace WEBHOOKURL at the top of the script with the URL you copied.
- Add a trigger by selecting Current project’s triggers in the Edit menu, and creating a new trigger using the settings given below.
- Submit a test response to make sure it works.
In this section, we will outline the multiple different cosmetic customizations that you can add to your webhook. You can use any combination of the options displayed below.
This option will allow you to set a colour to your embed. The colour option requires a numerical input instead of hexadecimal. E.g. Red in Hexadecimal is #FF0000. As a decimal, this would be translated into 16711680.
This option adds an author block to the embed. The author block (object) includes three values:
- name — the name field.
- url — allows for a hyperlink to be attached to the name.
- icon_url — avatar displayed.
This option binds a url link to the title of your embed.
Displays a description for the embed.
Displays an image inside of the embed.
Allows for a thumbnail to be displayed in the embed.
An optional customization you can make to footer text, is to add an icon image which will be displayed next to it.
About
A quick way to automatically send Google Form responses to a Discord channel
How I made Google Forms automatically post submissions in our Discord server
A friend of mine invited me to work on a game with him and I, of course, accepted. Early on, we decided that we want beta testers, and a way to apply as a tester. Google Forms immediately came into mind, and I took up the task of writing some code to make it automatically post answers to the form in our Discord server.
Part 1: So. how do I even get started on this?
I knew I needed two things: A Discord webhook, and something to send the request to it with every form submission. I quickly found out about something called Apps Script, which let me interact with a bunch of Google apps (including Forms), and which I could utilise to bring this idea to life.
Part 2: Alright, let’s jump into it
First, I wanted to figure out if I could even send an HTTP request from my Forms Add-on and found UrlFetchApp.fetch
Exit fullscreen mode
Part 3: But can I use the Discord Webhook?
Yes. The Discord Webhook documentation is awesome, and I was up and running within minutes.
Exit fullscreen mode
Part 4: Welp, time to actually hook it up to the form
By going to Edit > Current project’s triggers , I could set up my form to trigger the onSubmit function when the form is submitted.
Part 5: Putting it all together
I don’t have much to say here. Took about an hour of mindlessly browsing the Apps Script documentation, but somehow managed to write this final code:
Как отправить ответ с гугл формы в дискорд? How to send a response from a google form to discord?
◕ ◡ ◕Дарова! Подпишись на канал и поставь лайк! ◕ ◡ ◕ Мой Discord — Derek#7784 _ _ ►Ссылка на готовый код -docs.google.com/document/d/1NFmyN6BiqH1OUiYFO5VUy76j8cqBnIYNHqTyE7fOGac/edit?usp=sharing ►Ссылка на цвета HEX — color-hex.com
где этот код ? в описании ниче нету
дай свой дс, есть вопроси)
не могу триггер создать (Невозможно создать триггер без целевой функции. Добавьте функции к прикрепленному скрипту.) что делать?
привет, друг. надеюсь прочтёшь коммент
у меня проблема, когда нажимаю "Редактор скриптов", то вылезает ошибка:
"Не удалось открыть файл.
Проверьте правильность адреса и повторите попытку.
Работать с Google Диском легко и приятно.
Создавайте текстовые документы, таблицы, презентации и многое другое, храните их в Интернете и отправляйте другим пользователям."
Как Отправить Ответ С Гугл Формы В Дискорд? How To Send A Response From A Google Form To Discord? 10.04.2021
Аналитика просмотров видео на канале Tot Samiy Derek_
Гистограмма просмотров видео «Как Отправить Ответ С Гугл Формы В Дискорд? How To Send A Response From A Google Form To Discord? 10.04.2021» в сравнении с последними загруженными видео.
Subscribe to our Telegram channel! @thewikihow_en subscribe Stay tuned on round-the-clock video trends selection!