#I want my bot to leave all discord servers

1 messages · Page 1 of 1 (latest)

languid owl
#

Not possible

#

It depends on server owner

toxic fox
#

We won't write code for you

#

Iterate over bot.guilds

languid owl
#

Hmm

toxic fox
#

And call guild.leave

#

.rtfm guild.leave

static violetBOT
languid owl
#

That is not the exact thing

#

What he is saying

#

And what he is saying is not possible

#

It is like you got control to kick anyone

toxic fox
#

"I want my bot to leave all discord servers"

#

"my bot"

#

Pretty much possible

marble axle
#

I can print the ids of all the servers where the bot is located in a list and use the leave command

languid owl
#

Then try

marble axle
#

Isn't it possible to write a python code that returns the server ids and prints them to the list?

languid owl
#

Maybe

marble axle
#

I want a single line of code

#

to get the ids of the servers where the bot is located

marble axle
#

👍

toxic fox
#

Btw if you are done, close this thread

#

.close

static violetBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @raven gazelle.

raven gazelleBOT
#

This thread was archived by the user that opened it.