Compare commits

..

No commits in common. "414f5df5ae1c91cde07bfc3e16460ea06e25a553" and "78d010c2a4c79ca7786e4e941c8a433ff0467d52" have entirely different histories.

View file

@ -191,26 +191,6 @@ async def on_error(event, *args, **kwargs):
log.error(f"Error in event {event}.\nargs={pargs}\nkwargs={pkwargs}", exc_info=sys.exc_info())
@bot.listen()
async def on_guild_join(guild):
await bot.owner.send(
f"""\
# Guild Joined: {guild.name}
Guild ID: `{guild.id}`
Member Count: `{guild.member_count}`"""
)
@bot.listen()
async def on_guild_remove(guild):
await bot.owner.send(
f"""\
# Guild Removed: {guild.name}
Guild ID: `{guild.id}`
Member Count: `{guild.member_count}`"""
)
help_timeouts = {}
@ -372,7 +352,7 @@ async def admin_eval(ctx, *, body: str):
@bot.command()
async def ping(ctx):
await ctx.send(f"Pong!\nLatency: {bot.latency*1000:.1f}ms")
await ctx.send("Pong")
@bot.command()
@ -405,7 +385,6 @@ async def portrait(ctx):
def run():
log.info("Starting Nomen")
try:
run_db_migrations(DB_FILE)
except RuntimeError: