Skip to content

Latest commit

 

History

History

discord

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Discord

Links

Related

Hacking

  • Token Grabber (Trojan)

Tools

App

Installation

Homebrew

brew install --cask discord

Chocolatey

choco install -y discord

Tips

Subdomain

Add New DNS Record:

  • Type: CNAME
  • Name: discord
  • Value: discord.gg.opts-slash.<INVITE-CODE>.redirect.center
  • TTL: 1 Hour

Disable Embeds and Link Previews

  1. Discord -> Preferences
  2. Side-menu -> App Settings -> Text & Images
  3. Uncheck option in Embeds and Link Previews

Discord Shield

<a href="https://discord.gg/zxHM7uwDmk">
  <img
    src="https://img.shields.io/discord/873418656405651487.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2"
    alt="Discord"
  />
</a>

Webhook API Call

#
export MSG_TITLE='Knock Knock!'
export MSG_LINK='https://github.com/github'
export MSG_COLOR='0x2ea043'
export MSG_VALUE="Who's There?"

#
export PAYLOAD="$(jq \
  --null-input \
  --compact-output \
  --monochrome-output \
  --arg title "$MSG_TITLE" \
  --arg link "$MSG_LINK" \
  --arg color "$MSG_COLOR" \
  --arg message "$MSG_VALUE" \
  '{
    username: "GitHub",
    avatar_url: "https://avatars.githubusercontent.com/u/9919",
    embeds: [{
      title: $title,
      url: $link,
      color: $color,
      description: $message
    }]
  }')"; echo $PAYLOAD

#
export DISCORD_CHANNEL=''
export DISCORD_TOKEN=''

#
curl \
  -fSs \
  -H 'Content-Type: application/json' \
  -d "$PAYLOAD" \
  "https://discord.com/api/webhooks/${DISCORD_CHANNEL}/${DISCORD_TOKEN}"