Skip to content

Instantly share code, notes, and snippets.

🎯
Working on a surprise

Griffin GriffinG1

🎯
Working on a surprise
Block or report user

Report or block GriffinG1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nickprotect.py
import os
import discord
from discord.ext import commands
from cogs.utils.dataIO import dataIO
'''Module for protecting your nickname in a server from being changed.'''
class NickProtect:
def __init__(self, bot):
View hisufh
public class AddFractions extends ConsoleProgram
{
public void run()
{
int numFirst = readInt("What is the numerator of the first fraction? ");
int denFirst = readInt("What is the denominator of the first fraction? ");
int numSecond = readInt("What is the numerator of the second fraction? ");
int denSecond = readInt("What is the denominator of the second fraction? ");
int numTotal = ((numFirst * denSecond) + (denFirst * numSecond));
int denTotal = (denFirst * denSecond);
View server_share.py
import requests
from urllib import parse
from bs4 import BeautifulSoup
from appuselfbot import bot_prefix
from discord.ext import commands
from cogs.utils.checks import *
from PythonGists import PythonGists
'''Server share cog for creating a gist of members with x number of shared servers'''
You can’t perform that action at this time.