Skip to content

Instantly share code, notes, and snippets.

@minid33
minid33 / Discord Invite Bot
Created November 13, 2018 11:31
When you want to invite a lot of users, make a bot, give it admin permissions and then run this.
import time
import requests
DISCORD_API_URL = 'https://discordapp.com/api/v6'
DISCORD_API_SECRET = 'Bot ...'
WELCOME_CHANNEL_ID = YOUR_CHANNEL_GOES_HERE
COHORT_SIZE = 1000
headers = {'Authorization': DISCORD_API_SECRET, 'Content-Type': 'application/json'}
@minid33
minid33 / ichooseyou.py
Created January 22, 2015 10:10
Python Mob Programming Selector
import random
import time
import subprocess
import shlex
names = ['Author A', 'Author B', 'Author C', 'Author D', ]
voices = ['Good', 'Bad', 'Cello', 'Pipe Organ']
timer = 60 * 15
while True: