Remove things related to Enso

pull/9/head
Hammy 4 years ago
parent 0a6b8d3c23
commit d7ac54be44

@ -1,7 +1,6 @@
import datetime import datetime
import asyncpg import asyncpg
from discord import Embed
from discord.ext.commands import Cog from discord.ext.commands import Cog
@ -203,35 +202,6 @@ class Events(Cog):
else: else:
print(rowcount, f"Roles Cleared For {member} in {member.guild}") print(rowcount, f"Roles Cleared For {member} in {member.guild}")
# Make sure the guild is Enso and send welcoming embed to the server
if guild.id == self.bot.enso_guild_ID:
new_people = guild.get_channel(self.bot.enso_newpeople_ID)
server_icon = guild.icon_url
welcome_gif = "https://cdn.discordapp.com/attachments/669808733337157662/730186321913446521/NewPeople.gif"
embed = Embed(title="\n**Welcome To Ensō!**",
colour=self.bot.admin_colour,
timestamp=datetime.datetime.utcnow())
embed.set_thumbnail(url=server_icon)
embed.set_image(url=welcome_gif)
embed.add_field(
name=self.bot.blank_space,
value=f"Hello {member.mention}! We hope you enjoy your stay in this server!",
inline=False)
embed.add_field(
name=self.bot.blank_space,
value=f"Be sure to check out our <#669815048658747392> channel to read the rules and <#683490529862090814> channel to get caught up with any changes! ",
inline=False)
embed.add_field(
name=self.bot.blank_space,
value=f"Last but not least, feel free to go into <#669775971297132556> to introduce yourself!",
inline=False)
# Send embed to #newpeople
await new_people.send(embed=embed)
@Cog.listener() @Cog.listener()
async def on_member_remove(self, member): async def on_member_remove(self, member):
"""Storing member roles within the database when the member leaves""" """Storing member roles within the database when the member leaves"""

@ -1,5 +0,0 @@
https://cdn.discordapp.com/attachments/714670740489764926/722990786337308692/image0.jpg
https://cdn.discordapp.com/attachments/714670740489764926/722990835494289509/image0.jpg
https://cdn.discordapp.com/attachments/714670740489764926/722990902922182723/image0.jpg
https://cdn.discordapp.com/attachments/714670740489764926/722991084254265405/image0.jpg
https://cdn.discordapp.com/attachments/714670740489764926/722991770882932787/image0.png
Loading…
Cancel
Save