Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
feat(command): Message comp in update
Browse files Browse the repository at this point in the history
  • Loading branch information
falconnine9 authored Jul 22, 2021
1 parent fade6fd commit 283ac1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Commands/Administration/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ async def run(args, bot, msg, conn, guildinfo, userinfo):

elements = []

if "msg" in data.keys():
elements.append(data["msg"])

if "added" in data.keys():
changes = "\n".join([f" **[+]** {change}" for change in data["added"]])
elements.append(f"**Added**\n{changes}")
Expand Down

0 comments on commit 283ac1c

Please sign in to comment.