-
Notifications
You must be signed in to change notification settings - Fork 11
/
embedReplies.py
34 lines (27 loc) · 1.71 KB
/
embedReplies.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from discord.embeds import Embed
import discord
def incorrectRegion():
embed = discord.Embed(title="Incorrect Region", description="Use one of the following regions", color=discord.Color.red(),inline=True)
embed.add_field(name="eu",value="for Europe users", inline=False)
embed.add_field(name="ap",value="for Asia Pacific users", inline=False)
embed.add_field(name="kr",value="for Korean users", inline=False)
embed.add_field(name="na",value="for North American, Latin American, Brazil, Public Beta Environment users", inline=False)
return embed
def invalidArguments(desc):
embed = discord.Embed(title="Invalid arguments", description=desc, color=discord.Color.red(),inline=True)
embed.add_field(name="eu",value="for Europe users", inline=False)
embed.add_field(name="kr",value="for Korean users", inline=False)
embed.add_field(name="ap",value="for Asia Pacific users", inline=False)
embed.add_field(name="na",value="for North American, Latin American, Brazil, Public Beta Environment users", inline=False)
return embed
def smallEmbed(title,description):
embed = discord.Embed(title=title, description=description, color=discord.Color.red(),inline=True)
return embed
def thumbnailEmbed(title,description,url):
embed = discord.Embed(title=title, description=description, color=discord.Color.red(),inline=True)
embed.set_thumbnail(url=url)
return embed
def exceptionEmbed():
embed = discord.Embed(title="Something went wrong :(", description="Please try again!", color=discord.Color.red(),inline=True)
embed.set_thumbnail(url="https://images-ext-2.discordapp.net/external/yK1PgRCTUvZvC2uoRZgdLC3pT6M8G4gX-WGTPIcfsCQ/https/i.imgur.com/au2Yx3O.mp4")
return embed