Using GitHub gist to post as a bot instead of me #21881
-
I currently run a Discord bot that used to use anonymous GitHub Gists. Now that anonymous Gists have been disabled 😠 I need another solution. From the API docs: Is there a way to have the author show up as created by the bot, instead of created by me? Do I have to create a new GitHub account for this? Should I make an organization account? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you want the Gist to show up as created by a different account than yours, you’ll need to create a new machine account for that. An organization can’t log in as a user, so it wouldn’t work for what you’re describing. |
Beta Was this translation helpful? Give feedback.
-
Is a “machine account” a specific thing, or just a user account that happens to only be used by a machine? |
Beta Was this translation helpful? Give feedback.
-
@bmintz It’s a regular user account used by a bot/machine. |
Beta Was this translation helpful? Give feedback.
If you want the Gist to show up as created by a different account than yours, you’ll need to create a new machine account for that. An organization can’t log in as a user, so it wouldn’t work for what you’re describing.