Regex: (?:just )?added (?:modmail|bot) to my server|[Hh]ow do i setup (?:(?:the )?bot|modmail)|modmail setup|setup modmail|bot setup|setup bot
Options: modmail added modmail invite modmail joined modmail setup setup modmail setup bot setup
Regex: (?:just )?added (?:modmail|bot) to my server|[Hh]ow do i setup (?:(?:the )?bot|modmail)|modmail setup|setup modmail|bot setup|setup bot
Options: modmail added modmail invite modmail joined modmail setup setup modmail setup bot setup
Procfile
in the root of the directory and fill the contents with worker: python3 launcher.py
.I will start off saying that some parts of these events use third party libs on my private bot (the buttons are a good example of this). I would prefer to create buttons using discord.py's buttons for Zupie.
@commands.Cog.listener()
async def on_guild_join(self, guild):
self.bot.prom.guilds_join.inc({})
embed = discord.Embed(title = "Server Join", description = f"{guild.name} ({guild.id})", colour = 0x00FF00, timestamp = datetime.datetime.utcnow(),)
guilds = sum(await self.bot.comm.handler("guild_count", self.bot.cluster_count))
embed.set_footer(text = f"{guilds} servers")