Added blacklist, whitelist, banned words, and made embeds function

This commit is contained in:
Stijn De Clercq
2020-09-30 15:56:28 +02:00
parent d08fa2b721
commit 13548f10c6
7 changed files with 160 additions and 9 deletions

12
functions/embeds.py Normal file
View File

@@ -0,0 +1,12 @@
import discord
def modEmbed(author):
embed = discord.Embed(colour=discord.Colour.orange())
# Attach the server icon as a file
file = discord.File("files/images/server_icon.png", filename="icon.png")
embed.set_author(name=author, icon_url="attachment://icon.png")
return embed, file