diff options
| author | david <[email protected]> | 2026-03-12 17:28:32 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-03-12 17:28:32 -0300 |
| commit | 770c5f2b75c16cb14a6e017089e11e5947eeb4d8 (patch) | |
| tree | f20e44e9ecd05478342fd37787b6bfd52b1ae6a8 /bot.py | |
| parent | a9d1bb82516c2c54658f598054d449040cca9002 (diff) | |
| download | faggot-chan-770c5f2b75c16cb14a6e017089e11e5947eeb4d8.tar.gz faggot-chan-770c5f2b75c16cb14a6e017089e11e5947eeb4d8.zip | |
vibecoded a better prompt because ai know best about ai. and also maybe don't just hardcode the token teehee
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 |
