sh install-docker.sh
- log out
- log back in
{ | |
const mods = webpackChunkdiscord_app.push([ | |
[Date.now()], | |
{}, | |
e => Object.values(e.c), | |
]); | |
const provider = mods.find( | |
m => m?.exports?.Z?.getLanguages && Object.keys(m.exports.Z.Messages).length | |
).exports.Z._provider; | |
const strs = mods.find(m => m?.exports?.COMMAND_NICK_SUCCESS); |
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
If you're wondering what Gateway Intents are, what Privileged Intents are, why your bot can't see statuses, or why your bot can't see member joins anymore, then this page should explain it to you!
if you do not know what intents are, please read this entire page
First, a short explanation of how bots work: bots can make requests over the REST (HTTP) API to retreive information and do actions, and they get real-time updates from Discord in the form of websocket gateway events. They can also fetch server members via the gateway.
Examples of gateway events you are probably familiar with are Message Create (a message was sent) and Guild Member Add (a user joined a server).
/* | |
!! The feature that uses this endpoint has recently started rolling out to users. | |
!! See `App > Avatar > Profile Picture Editor` | |
!! | |
!! You may continue using this script, the only advantage is being able to | |
!! customize FullBody and Closeup independently. | |
*/ | |
-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!