#What is the difference between `startBot` and `createBot`?

1 messages · Page 1 of 1 (latest)

mystic pawn
#

What is the difference between startBot and createBot?

solemn granite
#

if ur a class user think of
createBot = new Client()
startBot = client.connect()

#

createBot creates a bot object and prepares things like rest manager, and gateway and other useful helpers on the bot object

#

startBot is just a function to well start the bot that you created with createBot