Stopping a discord bot, but not the program? #6904
Answered
by
Preocts
lamaqdahodwala
asked this question in
Q&A
-
I am trying to make a GUI for a discord bot, but for that to work, I need a way to stop the discord bot, but not the program itself.The method in particular would be kind of like the opposite of |
Beta Was this translation helpful? Give feedback.
Answered by
Preocts
May 13, 2021
Replies: 2 comments
-
Are you looking for https://discordpy.readthedocs.io/en/stable/api.html#discord.Client.close |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lamaqdahodwala
-
This is exactly what I was looking for, thank you :D
…On Thu, May 13, 2021 at 4:41 PM Preocts ***@***.***> wrote:
Are you looking for async close()?
https://discordpy.readthedocs.io/en/stable/api.html#discord.Client.close
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6904 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR3V6LATRHSIIV2WVOQEDO3TNQ2RLANCNFSM442YWR7Q>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you looking for
async close()
?https://discordpy.readthedocs.io/en/stable/api.html#discord.Client.close