mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Name check at start and updated README
This commit is contained in:
parent
71eade46f8
commit
01a69d2ebc
@ -11,7 +11,7 @@ See the [command list](#general-commands) for an even better idea of what this b
|
||||
### I don't even know what I'm looking at. How do I install this?
|
||||
Do not panic. Follow these steps:
|
||||
- Download the bot and unpack it.
|
||||
- [Install Python](https://www.python.org/downloads/). This bot needs 3.5.1 or superior.
|
||||
- [Install Python](https://www.python.org/downloads/). This bot needs 3.5.1 32bit or superior.
|
||||
- [Install Git](https://git-scm.com/download/win), don't forget to check "Use Git from the Windows Command Prompt"
|
||||
- Open the start menu, type cmd, right click and open the command prompt as admin. Now, do:
|
||||
```
|
||||
|
||||
3
red.py
3
red.py
@ -249,6 +249,9 @@ async def on_message(message):
|
||||
async def on_ready():
|
||||
logger.info(settings["NAME"] + " is online. (" + client.user.id + ")")
|
||||
await gameSwitcher.changeGame(now=True)
|
||||
if client.user.name != settings["NAME"]:
|
||||
name = "." + settings["NAME"] + "()"
|
||||
await client.edit_profile(settings["PASSWORD"], username=name)
|
||||
# cns = threading.Thread(target=console, args=[])
|
||||
# cns.start() # console, WIP
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user