Skip to content

Instantly share code, notes, and snippets.

@No-Eul
Last active January 12, 2023 19:58
Show Gist options
  • Save No-Eul/57fca72f58a5ff2385b44312dd75120a to your computer and use it in GitHub Desktop.
Save No-Eul/57fca72f58a5ff2385b44312dd75120a to your computer and use it in GitHub Desktop.
The Read-me File to Notify for My Discord Userscripts

Copy the userscript, and paste into the console of your browser or Discord client!

๐Ÿ“Œ Before Opening DevTools

Discord แ…Ÿhas updated to prevent users from easily opening the console in their client. For the reason, you have to do first before you open the console:

  • Open the file in the following path:
    • Windows: %APPDATA%\Discord\settings.json
    • macOS: (In macOS' case, the first or second may not exist but that's fine. If it exist, proceed with this work for only the file in one path.)
      • ~/Library/Application Support/Discord/settings.json or
      • /Library/Application Support/Discord/settings.json
    • Linux: (Also in Linux's case, proceed that like macOS.)
      • ~/.config/discord/settings.json or
      • ~/snap/discord/current/.config/discord/settings.json
    • If the file settings.json in the directory Discord doesn't exist, you must create it, and write {} in the file contents.
  • then add key-value pair below; It should be seperated each key-value pair by , (comma). Like this:
{
  "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true
}

If Discord is running, you should completly exit Discord to restart.

๐Ÿ“– How to Run Userscript

  1. Open DevTools
    • (Discord Client) Press Ctrl, Shift and I to open DevTools
    • (Web Browser) Press F12 to open DevTools
  2. Click Console tab, paste the userscript
  3. Press Enter key (require leading Ctrl key in some case) or โ–ท Run button

์œ ์ €์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋ณต์‚ฌํ•ด์„œ ๋‹น์‹ ์˜ ๋ธŒ๋ผ์šฐ์ €๋‚˜ Discord ์ฝ˜์†”์— ๋ถ™์—ฌ๋„ฃ์œผ์„ธ์š”!

๐Ÿ“Œ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋ฅผ ์—ด๊ธฐ ์ „์—

Discord๋Š” ์‚ฌ์šฉ์ž๋“ค์ด ํด๋ผ์ด์–ธํŠธ์—์„œ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋ฅผ ์‰ฝ๊ฒŒ ์—ด์ง€ ๋ชปํ•˜๋„๋ก ์—…๋ฐ์ดํŠธํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋ฅผ ์—ด๊ธฐ ์ „์— ํ•ด์•ผ ํ•  ์ผ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ๋กœ์˜ ํŒŒ์ผ์„ ์—ฝ๋‹ˆ๋‹ค:
    • Windows: %APPDATA%\Discord\settings.json
    • macOS: (macOS์˜ ๊ฒฝ์šฐ ๋‘˜ ์ค‘ ํ•œ ๊ฒฝ๋กœ์˜ ํŒŒ์ผ์ด ์—†์„ ์ˆ˜ ์žˆ์ง€๋งŒ ๊ดœ์ฐฎ์Šต๋‹ˆ๋‹ค. ์กด์žฌํ•˜๋Š” ๊ฒฝ์šฐ ํ•œ ๊ฒฝ๋กœ์˜ ํŒŒ์ผ์— ๋Œ€ํ•ด์„œ๋งŒ ์ด ์ž‘์—…์„ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.)
      • ~/Library/Application Support/Discord/settings.json ํ˜น์€
      • /Library/Application Support/Discord/settings.json
    • Linux: (Linux์˜ ๊ฒฝ์šฐ์—๋„ macOS์˜ ๊ฒฝ์šฐ์ฒ˜๋Ÿผ ์ž‘์—…์„ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.)
      • ~/.config/discord/settings.json ํ˜น์€
      • ~/snap/discord/current/.config/discord/settings.json
    • ๋งŒ์•ฝ Discord ๋””๋ ‰ํ„ฐ๋ฆฌ์— settings.json ํŒŒ์ผ์ด ์—†๋‹ค๋ฉด ๋งŒ๋“ค๊ณ , ํŒŒ์ผ ๋‚ด์šฉ์—๋Š” {}๋ฅผ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.
  • ํŠน์ • ํ‚ค-๊ฐ’ ์Œ์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ด ๋•Œ, ๊ฐ๊ฐ์˜ ํ‚ค-๊ฐ’ ์Œ๋“ค์€ , ๋กœ ๊ตฌ๋ถ„๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
{
  "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true
}

๋งŒ์•ฝ ๋””์Šค์ฝ”๋“œ๊ฐ€ ์‹คํ–‰ ์ค‘์ผ ๊ฒฝ์šฐ ๋””์Šค์ฝ”๋“œ๋ฅผ ์™„์ „ํžˆ ์ข…๋ฃŒํ•˜๊ณ  ๋‹ค์‹œ ์‹คํ–‰ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“– ์œ ์ €์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•

  1. ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ์—ด๊ธฐ
    • (Discord ํด๋ผ์ด์–ธํŠธ) Ctrl Shift I ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ์—ด๊ธฐ
    • (์›น ๋ธŒ๋ผ์šฐ์ €) F12 ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ์—ด๊ธฐ
  2. Console ํ˜น์€ ์ฝ˜์†” ํƒญ์—์„œ ์œ ์ €์Šคํฌ๋ฆฝํŠธ ๋ถ™์—ฌ๋„ฃ๊ธฐ
  3. Enter ํ‚ค (๊ฒฝ์šฐ์— ๋”ฐ๋ผ ์„ ํ–‰ Ctrl ํ‚ค ์ž…๋ ฅ ํ•„์š”) ๋˜๋Š” โ–ท ์‹คํ–‰ ๋ฒ„ํŠผ ๋ˆ„๋ฅด๊ธฐ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment