Skip to content

Instantly share code, notes, and snippets.

View theparanoiddroid's full-sized avatar

theparanoiddroid

View GitHub Profile
@theparanoiddroid
theparanoiddroid / WeatherBot.py
Created May 24, 2018 18:51
A Discord bot that returns current weather conditions based on the postal code you enter in the parameter. I am very mediocre at coding.
# Weather update for discord
# Author: Mark Brimmage
import os, bs4, re, smtplib
from urllib.request import urlopen, Request
from bs4 import BeautifulSoup as stew
import discord, asyncio
from discord.ext import commands
from discord.ext.commands import Bot