This file contains 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
Show hidden characters
{ | |
// Make sure the %FrameworkDir% variable exists. | |
// Place the file in /Sublime Text/Data/Packages/User directory | |
// Open a .cs file and press CTRL+B | |
// Select 'C#' | |
// Voila | |
"shell_cmd": "%FrameworkDir%\\v4.0.30319\\csc.exe /nologo $file && ${file/\\.cs/\\.exe/}" | |
} |
This file contains 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
<?php | |
/** | |
* ColorConverter | |
* @author eDroid | |
* @link https://edroidthedev.com | |
*/ | |
class ColorConverter { | |
/** | |
* Hex to RGB | |
* |
This file contains 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
const readline = require("readline"); | |
class DiscordCLI { | |
constructor(client, options){ | |
this.channel = null; | |
this.client = client; | |
this.options = { | |
exit_message: "EXIT_CHANNEL", | |
prompt_format: "#:channel [You] > ", | |
incoming_format: "#:channel [:sender] > :message" |
This file contains 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
/** | |
* CommandClient | |
* have custom commands for your bot | |
* @author eDroid | |
*/ | |
const Discord = require("discord.js"); | |
class CommandClient { | |
constructor(client, prefix = "/"){ |