-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from satisfactorymodding/dev
push 2.22.0 to prod yolo
- Loading branch information
Showing
20 changed files
with
959 additions
and
717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import asyncio | ||
from os import getenv | ||
|
||
from .fred import Bot, nextcord | ||
|
||
|
||
def main(): # this is so poetry can run a function from here properly | ||
async def main(): # this is so poetry can run a function from here properly | ||
intents = nextcord.Intents.all() | ||
|
||
client = Bot("?", help_command=None, intents=intents, chunk_guilds_at_startup=False) | ||
|
||
client.run(getenv("FRED_TOKEN")) | ||
await client.start(getenv("FRED_TOKEN"), reconnect=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() | ||
asyncio.run(main()) |
Oops, something went wrong.