Skip to content

Instantly share code, notes, and snippets.

View Senither's full-sized avatar

Alexis Tan Senither

View GitHub Profile
@Senither
Senither / config.yml
Created August 30, 2017 21:19
Configuration for MegaCore minecraft plugin
############################################################
# +------------------------------------------------------+ #
# | Notes | #
# +------------------------------------------------------+ #
############################################################
# If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI.
# If you receive an error when MegaCore loads, ensure that:
# - No tabs are present: YAML only allows spaces
# - Indents are correct: YAML hierarchy is based entirely on indentation
@Senither
Senither / run.sh
Created June 18, 2017 14:45
Starts a node application in the current folder and clears the window at the same time
#!/bin/bash
while true; do
clear && npm start
echo ""
echo "The application has been stopped, and will restart in 5 seconds."
echo "Press Ctrl+C to interrupt the process."
sleep 5
done
{
"environment": "production",
"bot": {
"token": "",
"oauth": "https://discordapp.com/oauth2/authorize?&client_id=<client_id>&scope=bot&permissions=66186303",
"activationDelay": "0"
},
"database": {
"type": "sqlite3",
"filename": "./database.sqlite"
{
"environment": "production",
"bot": {
"token": "",
"oauth": "https://discordapp.com/oauth2/authorize?&client_id=<client_id>&scope=bot&permissions=66186303",
"activationDelay": "0"
},
"database": {
"type": "mysql",
"database": "avaire",
// In the message create event
let author = e.message.author;
e.message.sendMessage(`Hi there <@${author.id}>!`);
@Senither
Senither / keybase
Created April 14, 2017 23:00
Keybase
### Keybase proof
I hereby claim:
* I am senither on github.
* I am senither (https://keybase.io/senither) on keybase.
* I have a public key ASDFO4NW6iK3vghxY_-kPN6ZUrgdjo5-URGAXw0Fdsp_vwo
To claim this, I am signing this object: