Skip to content

Commit

Permalink
Merge pull request #131 from satisfactorymodding/dev
Browse files Browse the repository at this point in the history
push 2.22.0 to prod yolo
  • Loading branch information
Borketh authored Sep 10, 2024
2 parents 5c1a941 + 7f139d6 commit f95180c
Show file tree
Hide file tree
Showing 20 changed files with 959 additions and 717 deletions.
8 changes: 4 additions & 4 deletions fred/__main__.py
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())
Loading

0 comments on commit f95180c

Please sign in to comment.