Quickly remove the text without having to create a custom prompt.
Edit the file: C:\Program Files\Git\etc\profile.d\git-prompt.sh
else
TITLEPREFIX=$MSYSTEM
fi
// node.js versions pre-v0.18.0 do not support the fetch api and require a polyfill | |
// const fetch = require('node-fetch'); | |
fetch( | |
'https://discordapp.com/api/webhooks/738983040323289120/mzhXrZz0hqOuUaPUjB_RBTE8XJUFLe8fe9mgeJjQCaxjHX14c3SW3ZR199_CDEI-xT56', | |
{ | |
method: 'post', | |
headers: { | |
'Content-Type': 'application/json', | |
}, | |
body: JSON.stringify({ |
/** | |
Simple(ish) example of discord gateway | |
This code will get to ready, and then remain connected with heartbeats | |
see https://discordapi.com/topics/gateway for more info | |
zlib compression is implemented as it will be required in gateway v7 (so get used to it now) | |
*/ | |
const WebSocket = require('ws'); // npmjs.org/ws | |
const zlib = require('zlib-sync'); // npmjs.org/zlib-sync | |
const erlpack = require('erlpack'); // github.com/discordapp/erlpack |