Change status in discord.py
I want to make status for Discord bot like "Listening People's Problems". But how to change "Playing" into "Listening"?
python python-3.x discord discord.py
add a comment |
I want to make status for Discord bot like "Listening People's Problems". But how to change "Playing" into "Listening"?
python python-3.x discord discord.py
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20
add a comment |
I want to make status for Discord bot like "Listening People's Problems". But how to change "Playing" into "Listening"?
python python-3.x discord discord.py
I want to make status for Discord bot like "Listening People's Problems". But how to change "Playing" into "Listening"?
python python-3.x discord discord.py
python python-3.x discord discord.py
edited Nov 23 '18 at 21:36
user6910411
32.9k96996
32.9k96996
asked Nov 23 '18 at 15:59
SÜLEYMANLISÜLEYMANLI
11
11
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20
add a comment |
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20
add a comment |
1 Answer
1
active
oldest
votes
Here are some snippets I saved while I was writing my bot a while ago
.setActivity({type: "LISTENING", "WATCHING", "PLAYING", "ETC."})
client.user.setPresence({
game: {
name: 'game',
type: 0
}
})
0: playing
1: streaming
2: listening
3: watching
They depreciate things quiet often, try something in the scope of change_presence
Check this out for reference: https://www.programcreek.com/python/example/107424/discord.Game
Hope this inspires something
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying toawait
a coroutine outside of anasync def
function. Could you share your code as text in an edit to your question?
– Patrick Haugh
Nov 23 '18 at 17:31
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449739%2fchange-status-in-discord-py%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here are some snippets I saved while I was writing my bot a while ago
.setActivity({type: "LISTENING", "WATCHING", "PLAYING", "ETC."})
client.user.setPresence({
game: {
name: 'game',
type: 0
}
})
0: playing
1: streaming
2: listening
3: watching
They depreciate things quiet often, try something in the scope of change_presence
Check this out for reference: https://www.programcreek.com/python/example/107424/discord.Game
Hope this inspires something
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying toawait
a coroutine outside of anasync def
function. Could you share your code as text in an edit to your question?
– Patrick Haugh
Nov 23 '18 at 17:31
add a comment |
Here are some snippets I saved while I was writing my bot a while ago
.setActivity({type: "LISTENING", "WATCHING", "PLAYING", "ETC."})
client.user.setPresence({
game: {
name: 'game',
type: 0
}
})
0: playing
1: streaming
2: listening
3: watching
They depreciate things quiet often, try something in the scope of change_presence
Check this out for reference: https://www.programcreek.com/python/example/107424/discord.Game
Hope this inspires something
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying toawait
a coroutine outside of anasync def
function. Could you share your code as text in an edit to your question?
– Patrick Haugh
Nov 23 '18 at 17:31
add a comment |
Here are some snippets I saved while I was writing my bot a while ago
.setActivity({type: "LISTENING", "WATCHING", "PLAYING", "ETC."})
client.user.setPresence({
game: {
name: 'game',
type: 0
}
})
0: playing
1: streaming
2: listening
3: watching
They depreciate things quiet often, try something in the scope of change_presence
Check this out for reference: https://www.programcreek.com/python/example/107424/discord.Game
Hope this inspires something
Here are some snippets I saved while I was writing my bot a while ago
.setActivity({type: "LISTENING", "WATCHING", "PLAYING", "ETC."})
client.user.setPresence({
game: {
name: 'game',
type: 0
}
})
0: playing
1: streaming
2: listening
3: watching
They depreciate things quiet often, try something in the scope of change_presence
Check this out for reference: https://www.programcreek.com/python/example/107424/discord.Game
Hope this inspires something
edited Nov 24 '18 at 7:33
James Ives
1,3881332
1,3881332
answered Nov 23 '18 at 16:09
SamSam
284
284
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying toawait
a coroutine outside of anasync def
function. Could you share your code as text in an edit to your question?
– Patrick Haugh
Nov 23 '18 at 17:31
add a comment |
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying toawait
a coroutine outside of anasync def
function. Could you share your code as text in an edit to your question?
– Patrick Haugh
Nov 23 '18 at 17:31
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
.setActivity is wrong syntax :(
– SÜLEYMANLI
Nov 23 '18 at 16:16
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
they depreciate things quiet often, try something in the scope of 'change_presence' check this out for reference: programcreek.com/python/example/107424/discord.Game
– Sam
Nov 23 '18 at 16:24
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
imgur.com/a/PXTmk0p gives this error
– SÜLEYMANLI
Nov 23 '18 at 16:34
@SÜLEYMANLI You're likely trying to
await
a coroutine outside of an async def
function. Could you share your code as text in an edit to your question?– Patrick Haugh
Nov 23 '18 at 17:31
@SÜLEYMANLI You're likely trying to
await
a coroutine outside of an async def
function. Could you share your code as text in an edit to your question?– Patrick Haugh
Nov 23 '18 at 17:31
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449739%2fchange-status-in-discord-py%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For anyone else who was as confused as I was: discordapp.com/developers/docs/intro . Or maybe I'm just out of touch?
– Rohit Chatterjee
Nov 23 '18 at 18:20