This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# basic dependencies | |
import discord | |
from discord.ext import commands | |
# aiohttp should be installed if discord.py is | |
import aiohttp | |
# PIL can be installed through | |
# `pip install -U Pillow` | |
from PIL import Image, ImageDraw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Methodology obtained from https://github.com/Rapptz/RoboDanny/blob/24b757f605cc8b32aebcec87d6de0043e3812f2b/bot.py | |
# This file demonstrates how to write an antispam Discord Bot with discord.py | |
from discord.ext import commands | |
import datetime | |
MESSAGES = 5 |