Skip to content

Instantly share code, notes, and snippets.

View LeoSaucedo's full-sized avatar
👨‍💻
SWE @ Lowe's

Carlos Saucedo LeoSaucedo

👨‍💻
SWE @ Lowe's
View GitHub Profile
@EvieePy
EvieePy / bot_example.py
Last active April 24, 2024 09:30
A Cogs Example for the rewrite version of - discord.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.
@AwwCookies
AwwCookies / gizoogle.py
Created April 5, 2014 19:26
Translate your words into gangsta: http://www.gizoogle.net/
"""
Example:
import gizoogle
print(gizoogle.translate('Hey, How are you?'))
# Will print 'Yo, how tha fuck is yo slick ass?'
"""
from BeautifulSoup import BeautifulSoup
import requests
import json
URL = 'http://www.gizoogle.net/textilizer.php'