20 lines
955 B
Python
20 lines
955 B
Python
|
|
import discord
|
||
|
|
from discord import Embed
|
||
|
|
|
||
|
|
|
||
|
|
class FrameworkRolesEmbed(Embed):
|
||
|
|
|
||
|
|
def __init__(self):
|
||
|
|
super().__init__()
|
||
|
|
self.title = "Framework Roles"
|
||
|
|
self.description = ("Please select your choice of frameworks to be associated with."
|
||
|
|
"\nThese roles provide no functionality other than being alerted when it is tagged."
|
||
|
|
"\nThis is mainly for when someone shares information about the programming framework"
|
||
|
|
" or is in need of help and asking a question")
|
||
|
|
self.add_field(
|
||
|
|
name="Additional",
|
||
|
|
value="Adding a framework will also add the associated language."
|
||
|
|
"\nRemoving a framework will NOT remove the associated language",
|
||
|
|
inline=False)
|
||
|
|
self.add_field(name="Instructions", value="Click to add. Click again to remove.", inline=False)
|
||
|
|
self.color = discord.Color.purple()
|