mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2025-01-02 13:19:14 -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()
|