Skip to content

Instantly share code, notes, and snippets.

#!/bin/zsh
# Define color codes
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
RESET="\033[0m"
# Define arrays to track installed and failed apps
# Delete all messages in a channel/DM sent from a Discord bot.
# Useful to delete bot responses for testing/privacy/security reasons.
# To delete all messages, type !clear
# Uncomment the excluded code to add discord actions support.
import discord
from discord.ext import commands
intents = discord.Intents.default() # Use default intents for now
client = commands.Bot(command_prefix="!", intents=intents) # Use commands.Bot
@TrudeEH
TrudeEH / wine-setup.sh
Created January 1, 2024 15:05
wine-setup.sh
#! /bin/bash
sudo pacman -Syu
sudo pacman -S wine wine-mono wine-gecko
sudo pacman -S --asdeps --needed $(pacman -Si wine | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ')