summaryrefslogtreecommitdiff
path: root/deps/discord-haskell/docs/creating-bot.md
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2023-11-16 19:06:43 -0500
committerLLLL Colonq <llll@colonq>2023-11-16 19:06:43 -0500
commitdcef0b65069fb38fd0f6c4382353167f603ebff1 (patch)
tree45954ffe308c3dd056e6af4f734e6d2af89e5856 /deps/discord-haskell/docs/creating-bot.md
Initial commit
Diffstat (limited to 'deps/discord-haskell/docs/creating-bot.md')
-rw-r--r--deps/discord-haskell/docs/creating-bot.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/discord-haskell/docs/creating-bot.md b/deps/discord-haskell/docs/creating-bot.md
new file mode 100644
index 0000000..93f47ce
--- /dev/null
+++ b/deps/discord-haskell/docs/creating-bot.md
@@ -0,0 +1,13 @@
+1. Create an application at the Developer Portal https://discordapp.com/developers/applications
+
+2. Add a 'Bot User' using the settings pane on the left. Take note of `CLIENT ID` on this page.
+
+3. Use the BOT PERMISSIONS tab to compute a Permissions Int
+
+4. Invite the bot to a server filling in the `<information>` below.
+
+Client ID and Permissions come from previous steps.
+
+`https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot&permissions=<PERMISSIONS>`
+
+5. You are ready to run the examples