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
// ==UserScript== | |
// @name Discord Hide Blocked Messages | |
// @namespace https://github.com/Multarix/Discord-Hide-Blocked-Messages | |
// @match https://discord.com/* | |
// @downloadURL https://raw.githubusercontent.com/Multarix/Discord-Hide-Blocked-Messages/master/script.user.js | |
// @homepageURL https://github.com/Multarix/Discord-Hide-Blocked-Messages | |
// @supportURL https://github.com/Multarix/Discord-Hide-Blocked-Messages/issues | |
// @grant none | |
// @version 2.0 | |
// @author Anonymous |
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
#!/usr/bin/env bash | |
# | |
# Helper functions that are intended to be sourced from ~/.zshrc inside WSL for | |
# Windows.In ~/.zshrc, execute with: | |
# | |
# emulate bash -c "source ~/.bash_functions.sh" | |
# | |
# Allow GUI apps inside WSL to display inside the X Server running in Windows |
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
/** | |
* Sends an email when a trigger is received. | |
*/ | |
function RespondEmail(e) { | |
// All messages marked with this label will trigger a new email to be sent | |
var triggerLabel = "paymenttrigger"; | |
// The message content is pulled from a saved draft email. draftSubject | |
// specifies the subject to search for. |
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
/* | |
* Auto-replies to all messages marked with a certain label. | |
*/ | |
function RespondEmail(e) { | |
// All messages marked with this label will be auto-replied to | |
var autorespondLabel = "autorespond"; | |
// The message content is pulled from a saved draft email. draftSubject | |
// specifies the subject to search for. |