Console Script Application

This commit is contained in:
2023-03-15 23:04:46 -04:00
parent ee29c54eef
commit ca09506e7d
5 changed files with 13 additions and 12 deletions

View File

@@ -1 +1,2 @@
# Handle major modules of package
import * from ./__main__

View File

@@ -16,8 +16,10 @@ async def summarize(
):
print("Will summarize article.")
# TODO: Import bot token from env
bot.run(os.environ["DISCORD_TOKEN"],)
def main():
# TODO: Import bot token from env
bot.run(os.environ["DISCORD_TOKEN"])
if __name__ == "__main__":
print("Handy Helper has Begun!")