Skip to content

Commit

Permalink
add support for optional prefixes in botinfo cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying committed Dec 25, 2020
1 parent 6ad8e46 commit e737b15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cogs/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ async def robot_info(self, ctx, *, bot: discord.User):
embed.add_field(name=f"{self.bot.settings['emoji']['crown']} Developer",
value=f"[{bot_owner['fullUsername']}]({self.bot.settings['website']['url']}/users/{bot_owner['_id']})")
embed.add_field(name=f"{self.bot.settings['emoji']['infoBook']} Library", value=db_bot["library"])
embed.add_field(name=f"{self.bot.settings['emoji']['speech']} Prefix", value=db_bot["prefix"])
if db_bot["prefix"]:
embed.add_field(name=f"{self.bot.settings['emoji']['speech']} Prefix", value=db_bot["prefix"])
embed.add_field(name=f"{self.bot.settings['emoji']['shield']} Server Count",
value=str(db_bot["serverCount"]))
embed.add_field(name=f"{self.bot.settings['emoji']['url']} Listing URL",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ discord.py==1.5.1
humanfriendly==4.7
idna==2.10
motor==2.3.0
multidict==4.7.6
multidict==5.1.0
pymongo==3.11.2
pyreadline==2.1
snowflake.py==1.0.0
Expand Down

0 comments on commit e737b15

Please sign in to comment.