[Owner] !set token no longer hidden

This commit is contained in:
Twentysix 2016-07-04 21:27:26 +02:00
parent 57cd3afec9
commit 3bf840e92c
2 changed files with 1 additions and 2 deletions

View File

@ -312,7 +312,7 @@ class Owner:
settings.email = token settings.email = token
settings.password = "" settings.password = ""
await self.bot.say("Token set. Restart me.") await self.bot.say("Token set. Restart me.")
log.debug("Just converted to a bot account.") log.debug("Token changed.")
@commands.command() @commands.command()
@checks.is_owner() @checks.is_owner()

1
red.py
View File

@ -375,7 +375,6 @@ def main():
print("and: pip3 install -U git+https://github.com/Rapptz/" print("and: pip3 install -U git+https://github.com/Rapptz/"
"discord.py@master#egg=discord.py[voice]") "discord.py@master#egg=discord.py[voice]")
if settings.login_type == "token": if settings.login_type == "token":
owner_cog._token.hidden = True
try: try:
yield from bot.login(settings.email) yield from bot.login(settings.email)
except TypeError as e: except TypeError as e: