Skip to content

Commit

Permalink
For linux users, no need to manually set username.
Browse files Browse the repository at this point in the history
  • Loading branch information
0n1udra committed Apr 12, 2022
1 parent 0dd206b commit 9b03deb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/slime_vars.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import os

# Set this variable if you're also using Debian based system. if not ignore this and manually set your file/folder paths.
user = 'arcpy'
user = os.getlogin()

# Set location of Discord bot token.
bot_token_file = f'/home/{user}/keys/slime_server.token'

# Set as None if not using a python virtual env.
pyenv_activate_command = f'source /home/{user}/pyenvs/slime_server/bin/activate'

# Save slime_vars.py to json, for updating bot. (set_slime_vars() in run_bot.py)
slime_vars_json = f'/home/{user}/slime_bot_vars.json'

# Optionally add channel ID, send message indicating bot is ready on startup.
channel_id = 860361620492255292

Expand Down

0 comments on commit 9b03deb

Please sign in to comment.