mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2025-01-02 09:49:13 -06:00
17 lines
338 B
Python
17 lines
338 B
Python
|
import os
|
||
|
import discord
|
||
|
|
||
|
|
||
|
# main runtime function
|
||
|
def main():
|
||
|
try:
|
||
|
disToken = os.environ['DISCORD_TOKEN'] # grabs the discord token from the environment variable, if not there, exit
|
||
|
except:
|
||
|
print("ERROR: unable to find discord token in environment variables!")
|
||
|
exit(1)
|
||
|
|
||
|
print("hello world")
|
||
|
|
||
|
|
||
|
main()
|