I hereby claim:
- I am ancient-ai on github.
- I am ancientai (https://keybase.io/ancientai) on keybase.
- I have a public key ASCkUuz1J16j1XllMg_AIuW2RRFoQs9cmOdcmspVDb9CFwo
To claim this, I am signing this object:
| ` | |
| ~/ | |
| ~ | |
| ×™× | |
| ___ | |
| __ | |
| _ | 
| 0 | |
| 1 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 2 | 
I hereby claim:
To claim this, I am signing this object:
| (function(){ | |
| // Paste your token between the quotes : | |
| var authToken = '________________________________________' | |
| // https://github.com/yanatan16/nanoajax | |
| !function(t,e){function n(t){return t&&e.XDomainRequest&&!/MSIE 1/.test(navigator.userAgent)?new XDomainRequest:e.XMLHttpRequest?new XMLHttpRequest:void 0}function o(t,e,n){t[e]=t[e]||n}var r=["responseType","withCredentials","timeout","onprogress"];t.ajax=function(t,a){function s(t,e){return function(){c||(a(void 0===f.status?t:f.status,0===f.status?"Error":f.response||f.responseText||e,f),c=!0)}}var u=t.headers||{},i=t.body,d=t.method||(i?"POST":"GET"),c=!1,f=n(t.cors);f.open(d,t.url,!0);var l=f.onload=s(200);f.onreadystatechange=function(){4===f.readyState&&l()},f.onerror=s(null,"Error"),f.ontimeout=s(null,"Timeout"),f.onabort=s(null,"Abort"),i&&(o(u,"X-Requested-With","XMLHttpRequest"),e.FormData&&i instanceof e.FormData||o(u,"Content-Type","application/x-www-form-urlencoded"));for(var p,m=0,v=r.length;v>m;m++)p=r[m],void 0!==t[p]&&(f[p]=t[p]);for | 
| #!/bin/bash | |
| # update the TOKEN and the CHANNELID, rest is optional | |
| # you may need to connect with a websocket the first time you run the bot | |
| # use a library like discord.py to do so | |
| curl -v \ | |
| -H "Authorization: Bot TOKEN" \ | |
| -H "User-Agent: myBotThing (http://some.url, v0.1)" \ | |
| -H "Content-Type: application/json" \ | 
| // Load up the discord.js library | |
| const Discord = require("discord.js"); | |
| // This is your client. Some people call it `bot`, some people call it `self`, | |
| // some might call it `cootchie`. Either way, when you see `client.something`, or `bot.something`, | |
| // this is what we're refering to. Your client. | |
| const client = new Discord.Client(); | |
| // Here we load the config.json file that contains our token and our prefix values. | |
| const config = require("./config.json"); | 
| // Turn on Developer Mode under User Settings > Appearance > Developer Mode (at the bottom) | |
| // Then open the channel you wish to delete all of the messages (could be a DM) and click the three dots on the far right. | |
| // Click "Copy ID" and paste that instead of LAST_MESSAGE_ID. | |
| // Copy / paste the below script into the JavaScript console. | |
| // If you're in a DM you will receive a 403 error for every message the other user sent (you don't have permission to delete their messages). | |
| var before = 'LAST_MESSAGE_ID'; | |
| clearMessages = function(){ | |
| const authToken = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, ""); | |
| const channel = window.location.href.split('/').pop(); | 
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
/part #channel
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
/part #channel