This file contains hidden or 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
#!/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 |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
#! /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' ' ') |