diff options
Diffstat (limited to 'bot.py')
| -rw-r--r-- | bot.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -40,11 +40,9 @@ def init_files(): init_files() -#TOKEN= "your token goes here" -TOKEN = "yourtokengoeshere" #real token - -#server = "put your serevr id here" -server = 1000000000000005 # real server +_config_lines = [l.strip() for l in (CONFIG_DIR / "tokens.txt").read_text(encoding="utf-8").splitlines() if l.strip() and not l.strip().startswith("#")] +TOKEN = _config_lines[0] +server = int(_config_lines[1]) intents = discord.Intents.default() intents.message_content = True |
