-
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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const Eris = require("eris"); | |
const ytdl = require('ytdl-core'); | |
var bot = new Eris.CommandClient("token", {}, { | |
description: "The Quantum MusicBot.", | |
owner: "Gus", | |
prefix: "q!" | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.commands =[ | |
"ping", | |
]; | |
exports.ping = { | |
description : "ping pong example", | |
process : function (bot,msg){ | |
bot.sendMessage(msg.channel,msg.author + "pong!"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Project Clementine | |
* this is an experimental ES6 implementation | |
* some features don't work | |
* use at your own risk. | |
* -Capuccino | |
*/ | |
"use strict"; | |
import {Discord} from "discord.js"; | |
import {fs} from "fs"; | |
import {util} from "util"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Project Clementine | |
* this is an experimental ES6 implementation | |
* some features don't work | |
* use at your own risk. | |
* -Capuccino | |
*/ | |
"use strict"; | |
var _discord = require("discord.js"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Just another retarded TypeScript made by a lazy twat | |
* just to learn the lang itself | |
* and to donate something for /r/LoveLive | |
* | |
* Yes, it's Licensed under MIT too. | |
*/ | |
const strings = input.split(""); | |
class Vector { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main () | |
{ | |
int accnt_no, BC, FCDA, EC, MSC, total, VAT, total_bill, A, a; | |
char accnt_name, serv_add, repeat, cust_t, conn_t, ms, R, O, S, T ; | |
cout<<"***********************************************"<<endl; | |
cout<<"*Welcome to Milkshake Water-Billing Calculator*"<<endl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
dist: trusty | |
language: node_js | |
node_js: | |
- "6.9" | |
- "7.1" | |
install: | |
- npm -g install -S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"/> | |
<head> | |
<title> awau </title> | |
<!-- Requires --> | |
<script src="js/materialize.js" type="text/javascript"></script> | |
<!-- Mandatory JQuery--> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<link href="css/materialize.css" rel="stylesheet" type="text/css"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# check if docker is working | |
docker ps &> /dev/null | |
if [ $? -ne 0 ]; then | |
echo "[ERROR]\tCannot connect to the Docker daemon. Is the docker daemon running on this host?" 1>&2 | |
return 1 | |
fi | |
CONTAINER="che" |
OlderNewer