Reformatting text

pull/8/head
sgoudham 4 years ago
parent 945cde2982
commit 1b78a33d1e

@ -30,6 +30,8 @@ class rules_roles(commands.Cog, command_attrs=dict(hidden=True)):
@command(name="rules", aliases=["Rules"]) @command(name="rules", aliases=["Rules"])
@cooldown(1, 5, BucketType.user) @cooldown(1, 5, BucketType.user)
async def rules(self, ctx): async def rules(self, ctx):
"""Ruleset for Ensō"""
# Making sure this command only works in Enso # Making sure this command only works in Enso
if not ctx.guild.id == enso_guild_ID: if not ctx.guild.id == enso_guild_ID:
await ctx.send("**Sorry! That command is only for a certain guild!**") await ctx.send("**Sorry! That command is only for a certain guild!**")
@ -42,101 +44,72 @@ class rules_roles(commands.Cog, command_attrs=dict(hidden=True)):
author, guild_icon, enso_icon, enso_name = get_user_info(self, ctx) author, guild_icon, enso_icon, enso_name = get_user_info(self, ctx)
# Set up embed to list all the rules within the server # Set up embed to list all the rules within the server
embed = Embed(title="```(っ◔◡◔)っ Ensō Rules```", embed = Embed(title="(っ◔◡◔)っ Ensō Rules",
colour=enso_embedmod_colours, colour=enso_embedmod_colours,
description="``` ヽ(͡◕ ͜ʖ ͡◕)ノ Please respect the following rules that are going to be listed below ヽ(͡◕ ͜ʖ ͡◕)ノ ```", description="ヽ(͡◕ ͜ʖ ͡◕)ノ Please respect the following rules that are going to be listed below ヽ(͡◕ ͜ʖ ͡◕)ノ",
timestamp=datetime.datetime.utcnow()) timestamp=datetime.datetime.utcnow())
embed.set_thumbnail(url=guild_icon) embed.set_thumbnail(url=guild_icon)
embed.set_author(name=enso_name, embed.set_author(name=enso_name,
icon_url=enso_icon) icon_url=enso_icon)
embed.add_field( fields = [
name=blank_space, (blank_space,
value="**➳ Don't be overly toxic/purposely problematic**" + "**➳ Don't be overly toxic/purposely problematic** \n This one is pretty self explanatory, just treat others the way you want to be treated and you'll get along with everyone :)",
"\n This one is pretty self explanatory, just treat others the way you want to be treated and you'll get along with everyone :)", False),
inline=False) (blank_space,
embed.add_field( "**➳ Respect all admins and staff** \n They are enforcing these rules to help make and keep this server a fantastic place to hang out.",
name=blank_space, False),
value="**➳ Respect all admins and staff**" + (blank_space,
"\n They are enforcing these rules to help make and keep this server a fantastic place to hang out.", "**➳ Keep content organized into their respective channels** \n For example. When connected to a voice channel, all messages relating to the discussion in voice-chat should be sent in #vc-chat",
inline=False) False),
embed.add_field( (blank_space,
name=blank_space, "**➳ No advertising other servers** \nIt's disrespectful to do that and won't be tolerated in this server",
value="**➳ Keep content organized into their respective channels**" + False),
"\n For example. When connected to a voice channel, all messages relating to the discussion in voice-chat should be sent in #vc-chat", (blank_space,
inline=False) "**➳ No pornographic/adult/other NSFW material** \n This is a community server and not meant to share this kind of material. Try to stay around PG 13 as most of our users are between 13 - 16",
embed.add_field( False),
name=blank_space, (blank_space,
value="**➳ No advertising other servers**" + "**➳ Don't take insults too far** \n Poking fun at others is okay, just don't take it too far. Any disputes can be brought up to a staff member and they will handle it." +
"\nIt's disrespectful to do that and won't be tolerated in this server", "\nIf you end up causing a problem or taking things into your in hands, you will be punished",
inline=False) False),
embed.add_field( (blank_space,
name=blank_space, "**➳ Explicit Language** \n Swearing is perfectly fine as long as it's not in excess, with some exceptions of course." +
value="**➳ No pornographic/adult/other NSFW material**" + "These exceptions being racial, sexual, and ethnic slurs",
"\n This is a community server and not meant to share this kind of material. Try to stay around PG 13 as most of our users are between 13 - 16", False),
inline=False) (blank_space,
embed.add_field( "**➳ Discord ToS** \n As well as following the rules we have set forth, please make sure to follow Discord's ToS https://discordapp.com/terms ",
name=blank_space, False),
value="**➳ Don't take insults too far**" + (blank_space,
"\n Poking fun at others is okay, just don't take it too far. Any disputes can be brought up to a staff member and they will handle it." + "```( ͡°ω ͡°) Disciplinary Actions ( ͡°ω ͡°)```", False),
"\nIf you end up causing a problem or taking things into your in hands, you will be punished", (blank_space,
inline=False) "**➳ First Offense** \n Warning",
embed.add_field( True),
name=blank_space, (blank_space,
value="**➳ Explicit Language**" + "**➳ Second Offense** \n1 hour mute",
"\n Swearing is perfectly fine as long as it's not in excess, with some exceptions of course." + True),
"These exceptions being racial, sexual, and ethnic slurs", (blank_space,
inline=False) "**➳ Third Offense** \n12 hour mute",
embed.add_field( True),
name=blank_space, (blank_space,
value="**➳ Discord ToS**" + "**➳ Fourth Offense** \n24 hour mute",
"\n As well as following the rules we have set forth, please make sure to follow Discord's ToS https://discordapp.com/terms ", True),
inline=False) (blank_space,
embed.add_field( "**➳Fifth Offense** \n Kicked from the server",
name=blank_space, True),
value="```( ͡°ω ͡°) Disciplinary Actions ( ͡°ω ͡°)```", (blank_space,
inline=False) "**➳ Sixth Offense** \n Banned from the server",
embed.add_field( True),
name=blank_space, (blank_space,
value="**➳ First Offense**" + "**➳ There are, of course, exceptions to these rules based on the severity of the offense Minor offenses will play out as described but major offenses will be dealt with at the discretion of the staff member involved.**",
"\n Warning", False),
inline=True) (blank_space,
embed.add_field( f"**➳ Any disputes about a staff members choices or actions can be brought to myself, {ctx.message.author.mention} or my co-owner, {izzyID}**",
name=blank_space, False)]
value="**➳ Second Offense**" +
"\n1 hour mute", # Add fields to the embed
inline=True) for name, value, inline in fields:
embed.add_field( embed.add_field(name=name, value=value, inline=inline)
name=blank_space,
value="**➳ Third Offense**" +
"\n12 hour mute",
inline=True)
embed.add_field(
name=blank_space,
value="**➳ Fourth Offense**" +
"\n24 hour mute",
inline=True)
embed.add_field(
name=blank_space,
value="**➳Fifth Offense**" +
"\n Kicked from the server",
inline=True)
embed.add_field(
name=blank_space,
value="**➳ Sixth Offense**" +
"\n Banned from the server",
inline=True)
embed.add_field(
name=blank_space,
value="**➳ There are, of course, exceptions to these rules based on the severity of the offense. "
"Minor offenses will play out as described but major offenses will be dealt with at the discretion of the staff member involved.**",
inline=False)
embed.add_field(
name=blank_space,
value=f"**➳ Any disputes about a staff members choices or actions can be brought to myself, {ctx.message.author.mention} " +
f", or my co-owner, {izzyID}**",
inline=False)
# Dm the user the embedded message # Dm the user the embedded message
await author.send(embed=embed) await author.send(embed=embed)

Loading…
Cancel
Save