Skip to content

Instantly share code, notes, and snippets.

View GriffinG1's full-sized avatar
🎯
Working on a surprise

Griffin GriffinG1

🎯
Working on a surprise
View GitHub Profile
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'''
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);
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):