🛠️Creating a Project
How to create your bot project in Xcode.
Last updated
How to create your bot project in Xcode.
Last updated
Now that you've added your bot to Discord, it's time to make it go online and ready for use.
Open Xcode and click on the Create a new Xcode project.
Under the macOS tab, select Command Line Tool.
Afterwards, type a product name and create your project in the directory of your choosing.
Alternatively, you create an executable project. This should be used if you intend to have your bot run on various operating systems (such as Linux). You can create an executable project by creating a new folder. For this example, the folders name is "DiscordBot". Open a new terminal at that folder and run the following:
When you open the folder in Xcode, this will be the layout: