Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /set_status command to change bot status #36

Open
tjhubz opened this issue Aug 19, 2022 · 4 comments
Open

Add /set_status command to change bot status #36

tjhubz opened this issue Aug 19, 2022 · 4 comments
Assignees
Labels
good first issue Good for newcomers ideal Ideal functionality improvement Improve existing functionality or add new features

Comments

@tjhubz
Copy link
Owner

tjhubz commented Aug 19, 2022

Throughout the year it might be fun to have the bot's status change. If there could be a /set_status (status) command to change the bot's status to a custom message it would be super cool.

https://python.plainenglish.io/how-to-change-discord-bot-status-with-discord-py-39219c8fceea

@tjhubz tjhubz added good first issue Good for newcomers ideal Ideal functionality labels Aug 19, 2022
@tjhubz tjhubz added this to PittBOT Aug 19, 2022
@Elsklivet Elsklivet moved this to Todo in PittBOT Aug 19, 2022
@tjhubz tjhubz moved this from Todo to In Progress in PittBOT Aug 19, 2022
@vrr11
Copy link
Contributor

vrr11 commented Aug 22, 2022

Should any arbitrary user be allowed to invoke this command? Or only RAs/managers?

@tjhubz
Copy link
Owner Author

tjhubz commented Aug 22, 2022

Should any arbitrary user be allowed to invoke this command? Or only RAs/managers?

Only users with administrator permissions.

@vrr11
Copy link
Contributor

vrr11 commented Aug 24, 2022

According to the webpage you linked: Another limitation of the Discord API is that it does not at this time support custom statuses. This means that you can’t create a “Dreaming” activity for your bot to [dream of electric sheep](https://www.goodreads.com/book/show/36402034-do-androids-dream-of-electric-sheep).

In other words, bots can currently only have statuses belonging to one of the following four categories:
1_nWIV2NFTkQ6XRuWibNLzMg

Do you still want this feature implemented?

@tjhubz
Copy link
Owner Author

tjhubz commented Aug 24, 2022

Yep! Format should be /set_status (type) (time limit [1m, 1h, 1d, 1w etc.]) (message)

@tjhubz tjhubz added the improvement Improve existing functionality or add new features label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ideal Ideal functionality improvement Improve existing functionality or add new features
Projects
Status: In Progress
Development

No branches or pull requests

3 participants