Skip to content

Instantly share code, notes, and snippets.

View spectrapulse's full-sized avatar
🤖

Tyrone Faulhaber spectrapulse

🤖
View GitHub Profile
@copygirl
copygirl / pack-instance.sh
Last active May 23, 2026 05:12
Helper scripts to create Prism Launcher compatible .zip files from packwiz Minecraft modpacks, as well as for publishing changes using rsync.
#!/bin/bash
if [[ $@ == "-h" ]] || [[ $@ == "--help" ]]; then
echo "usage: ./pack-instance.sh [output]"
echo "Creates a Prism Launcher compatible instance .zip file from your pack.toml."
echo "If 'include' directory exists, its contents are copied to the minecraft folder."
echo "If 'icon.png' exists, it's added to the pack and its instance config."
echo "Output defaults to '<name>_v<version>.zip' in the current directory."
exit 0
fi
@nonchris
nonchris / discord-custom-help-command.py
Last active August 13, 2024 03:40
A kinda advanced custom "help" command for your Discord.py bots!
import discord
from discord.ext import commands
from discord.errors import Forbidden
"""This custom help command is a perfect replacement for the default one on any Discord Bot written in Discord.py!
However, you must put "bot.remove_command('help')" in your bot, and the command must be in a cog for it to work.
Original concept by Jared Newsom (AKA Jared M.F.)
[Deleted] https://gist.github.com/StudioMFTechnologies/ad41bfd32b2379ccffe90b0e34128b8b
Rewritten and optimized by github.com/nonchris

Keybase proof

I hereby claim:

  • I am spectrapulse on github.
  • I am spectrapulse (https://keybase.io/spectrapulse) on keybase.
  • I have a public key ASAjCNB5j6DMG67X_QsvR0IX8Fualw7JoynliiO1ljz3zgo

To claim this, I am signing this object: