Skip to content

Instantly share code, notes, and snippets.

View IAmJSD's full-sized avatar
🏠
Working from home

Astrid IAmJSD

🏠
Working from home
View GitHub Profile
@IAmJSD
IAmJSD / pumpkin_nicknames.py
Last active October 16, 2017 17:02
A quick botch of a selfbot to add pumpkins to everyone's names in a server you have permission to do it in. (The commands are !addpumpkins and !removepumpkins)
token = ""
# Insert your user token here.
prefix = "!"
# Here is the prefix. Feel free to change if you want.
pumpkin = "🎃"
# A unicode pumpkin.
import discord

Keybase proof

I hereby claim:

  • I am JakeMakesStuff on github.
  • I am jakemakesstuff (https://keybase.io/jakemakesstuff) on keybase.
  • I have a public key whose fingerprint is 58BF 7174 225B 544D 4D11 4EAD 6D56 0442 F89A D1BF

To claim this, I am signing this object:

@IAmJSD
IAmJSD / gen_logs.py
Created October 26, 2017 20:44
A quickly made selfbot to log a server. Run !gen_logs in a channel to get a log of it.
# gen_logs - A tool to get a full log of a Discord chat. Created by Jake#0009.
token = ""
# Insert your user token here.
prefix = "!"
# Here is the prefix. Feel free to change if you want.
import discord
import logging

Cube Staff Team

Here is the current Cube staff list for the official instance:

  • Jake#0009 (280610586159611905)
  • dnomaid#6962 (101588913746890752)
  • techfan36#5907 (141677475921920001)
  • AeroFusion [Espi]#1154 (229373852939976709)
@IAmJSD
IAmJSD / christmas_nicknames.py
Created December 5, 2017 17:21
A quick botch of a selfbot to add christmas trees to everyone's names in a server you have permission to do it in. (The commands are !addtrees and !removetrees)
token = ""
# Insert your user token here.
prefix = "!"
# Here is the prefix. Feel free to change if you want.
tree = "🎄"
# A unicode christmas tree.
import discord
@IAmJSD
IAmJSD / pai.py
Last active January 2, 2018 08:16
Your very own Ajit Pai.
userbot = False
# Defines if it is a userbot or not.
token = ""
# Insert your token here.
import discord, logging, random
# Imports go here.
logging.basicConfig(level=logging.INFO)
@IAmJSD
IAmJSD / Cube Server Setup.md
Last active February 25, 2018 16:34
A simple setup tutorial for Cube.

Cube Server Setup

So you added Cube or a bot based on Cube to your server? Awesome! Let's set this up! Please note commands in this tutorial are based on the prefix c! and the prefix for custom instances of the bot may be different.

Roles

You will want 2 roles which contain the following (not case sensitive and they just need to contain it, not be it):

  • staff - You will give this to your staff. This contains everything someone will need to moderate a server using this bot.
  • manager or management - You will give this to the highest up people on your server. These people will have permissions to manage the bot.

Channels Setup

from discord.ext import commands
from shared import get_guild, get_wallet,\
render_emoji, save_wallet
from ext_utils import FormattedEmbed
import discord
# Imports go here.
class Balance:
def __init__(self, dclient):
@IAmJSD
IAmJSD / pycharm_git_commit_push.ahk
Created July 22, 2018 12:41
Saves a file in PyCharm and commits/pushes to Git
^]::
WinGetActiveTitle, WindowName
If InStr(WindowName, "PyCharm") {
Send, ^s
RegExMatch(WindowName, "[A-Z]:\\(([a-zA-Z0-9\.]){1,}(\\){0,}){1,}", FoundRegex)
if FoundRegex {
FormatTime, PCTimeFormatted
ToRun := "git.exe commit -a -m " . """" . "Save and commit from Jake's AHK script [PC time/date " . PCTimeFormatted . "]" . """"
RunWait, %ToRun%, %FoundRegex%, Hide
Run, git push, %FoundRegex%, Hide
@IAmJSD
IAmJSD / ramsaybot.py
Created September 11, 2018 17:02
A Gordon Ramsay style bot.
import discord
import random
import logging
import os
# Imports go here.
ramsay_quotes = [
"YOU FUCKING DONKEY!",
"What are you? AN IDIOT SANDWICH.",
"GET OUT!",