Skip to content

Instantly share code, notes, and snippets.

View Mm2PL's full-sized avatar

Mm2PL

  • 08:32 (UTC +01:00)
View GitHub Profile
import socket
import time
import re
# Works on python 3.6 and 3.7
# ===================================================================================
# Modify this part
# ===================================================================================
NICK = "" # The account Name
PASS = "" # http://www.twitchapps.com/tmi/
src/providers/twitch/TwitchChannel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp
index d305f0c4..999164ed 100644
--- a/src/providers/twitch/TwitchChannel.cpp
+++ b/src/providers/twitch/TwitchChannel.cpp
@@ -31,7 +31,7 @@
namespace chatterino {
namespace {
---
src/widgets/splits/Split.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletion(-)
diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp
index d35ca701..6e286fae 100644
--- a/src/widgets/splits/Split.cpp
+++ b/src/widgets/splits/Split.cpp
@@ -124,6 +124,7 @@ Split::Split(QWidget *parent)
// CreateShortcut(this, "ALT+SHIFT+LEFT", &Split::doDecFlexX);
Split.cpp
    // Initialize chat widget-wide hotkeys
    // CTRL+W: Close Split
    createShortcut(this, "CTRL+W", &Split::deleteFromContainer);

    // CTRL+R: Change Channel
    createShortcut(this, "CTRL+R", &Split::changeChannel);

    // CTRL+F: Search
import json
import os
import re
import subprocess
import asyncio
import sys
import unicodedata
import typing
import discord
/* ==META==
{
"Name": "pipozdola",
"Aliases": null,
"Flags": [
"ping",
"pipe",
"skip-banphrase",
"system"
],
@Mm2PL
Mm2PL / 0_readme.md
Last active August 7, 2023 13:19
Chatter list fetcher eShrug
  • fetcher.py python version. More cross platform. Relies on requests
  • fetcher.sh smaller version but relies on bash, diff, curl

To compile yourself use make_donk.js mods.js, make sure to install all dependancies before :).

Precompiled aliases:

$alias edit _mods dankdebug function:"const a={u:'user',c:'command',C:'channel',i:'invocation',t:'type'};let b={},c=null;for(const d of args)d.startsWith('-')?c=d.replace(/-+/,''):c&&(c=a[c]??c,b[c]=d,c=null);`null>${b.un?'un':''}ban ${Object.entries(b).map(([a,b])=>`${a}:${b}`).join(' ')}`" ${0+}
$alias add ban pipe alias run _mods ${0+}|pipe
$alias add unban pipe alias run _mods --un 1 ${0+}|pipe