Added blacklist, whitelist, banned words, and made embeds function
This commit is contained in:
12
functions/embeds.py
Normal file
12
functions/embeds.py
Normal 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
|
||||
Reference in New Issue
Block a user