Commit graph

121 commits

Author SHA1 Message Date
Carson Hoffman
0d776e61a1
Add use of intents to examples 2020-07-18 11:57:24 -04:00
Noah Santschi-Cooney
69edfdf4ac
discordapp.com -> discord.com (#772)
Change API URL from discordapp.com to discord.com
2020-05-08 21:26:13 -04:00
Carson Hoffman
45124d8303 Revert "Changed domain from discordapp.com to discord.com (#769)"
This reverts commit f4ca8874a3.
2020-05-07 12:27:07 -04:00
Hunter Paulson
f4ca8874a3
Changed domain from discordapp.com to discord.com (#769)
* Allow resume on reconnect

* Version 0.20.3: allow resume on reconnect

* Update index.md

* Update README.md

* Update GettingStarted.md

* Update endpoints.go

* Update README.md

* Update event.go

* Update wsapi.go

* Update restapi.go

* Resolved spelling issue

Co-authored-by: Carson Hoffman <c@rsonhoffman.com>
2020-05-04 21:13:28 -07:00
Tobias Messner
db7a34f303
Fix typo in PingPong example (#767) 2020-04-30 14:22:18 -07:00
vim2meta
396e868b36
Update main.go 2017-11-19 10:15:52 -05:00
Bruce
3aa7eadbf8 Fix avatar usage example, spaces are important too. 2017-04-14 14:10:09 +00:00
Bruce
5fcb5fa7eb Correct appmaker readme usage example 2017-04-14 14:08:58 +00:00
Bruce
65232ca5ef Slight improvement to airhorn example description 2017-04-14 14:05:28 +00:00
Bruce
e16cb509c2 Consolidated avatar examples to one, cleaned it up. 2017-04-14 14:02:37 +00:00
Bruce
2953721ea0 Removed new_basic example. See pingpong instead :) 2017-04-13 15:41:38 +00:00
Bruce
1c719249a1 Clean up comments, better blocking code. 2017-04-13 15:22:58 +00:00
Bruce
2b282540ef Updated airhorn readme file 2017-04-13 14:54:34 +00:00
Bruce
f05856893b Updated MyToken example code and readme. 2017-04-11 15:06:46 +00:00
Bruce
8da6f76c9c Fix markdown link 2017-04-11 14:47:49 +00:00
Bruce
ba9606f415 Update readme to match changes to example. 2017-04-10 21:06:43 +00:00
Bruce
d1c23ecb09 Clean up example.
Remove the email/pass login option.  Change display to show all fields
of the Bot/App struct.
2017-04-10 21:05:33 +00:00
Bruce
abc85a2de0 Improve comments, better wait for CTRL-C method. 2017-04-10 16:36:05 +00:00
Bruce
16798cdf11 Updated Readme. 2017-04-10 16:28:10 +00:00
Bruce
8b67603145 Clean up readme. 2017-04-10 16:27:22 +00:00
Bruce
98779bc3b9 Update readme. 2017-04-10 16:14:29 +00:00
Bruce Marriner
cc272d6f14 Linting.. 2016-12-11 12:50:12 -06:00
Chris Rhodes
e37343d4d4 Update examples to use Bot tokens. 2016-10-29 16:30:19 -07:00
Austin Davis
212fc66a25 casing matters for some reason tried BOT and it returns a 401. (#268)
Also got the name of the executable wrong in mytoken (damn copy paste...)
2016-10-13 19:14:54 -07:00
Austin Davis
627f9a3ca6 Updates docs to include the newly required "Bot" infront of bot user tokens. (#266) 2016-10-04 14:45:36 -07:00
Chris Rhodes
9b6b657083 Merge pull request #249 from iopred/develop
Correctly merge GUILD_UPDATE events. Closes #242
2016-09-27 21:15:03 -07:00
Chris Rhodes
d28edb024e Fix airhorn example. 2016-09-08 20:07:43 -07:00
robbix1206
95fdc0a971 Close the file after read
Close the file when it has been full readed
2016-08-31 16:40:45 +02:00
Bruce Marriner
5e45d0a4fc gofmt file 2016-06-17 16:39:37 -05:00
Bruce Marriner
90b83fefeb Make travis check format, and test it.. 2016-06-17 16:28:49 -05:00
Bruce Marriner
fb663ac348 Linting 2016-06-17 15:44:01 -05:00
Bruce Marriner
233e672287 Remove examples on converting user to bot
This is no longer supported by Discord.
2016-06-14 09:29:10 -05:00
VagantemNumen
9f889c824e
Removed the images from the folder. 2016-05-19 20:12:44 +05:00
VagantemNumen
7ff5f4b043
Removed MESSAGE_CREATE event handler and opening of websocket infavour
of the example being simple and to the point.
Added a disclaimer regarding visual change to the main README.md.
2016-05-17 19:26:37 +05:00
VagantemNumen
ecc6665887
Avatar Example using Url.
Readme clean up.
2016-05-16 14:51:41 +05:00
VagantemNumen
9529c44867
Added example for changing avatar using a local file.
Cleaned up. Few more.
2016-05-16 14:38:06 +05:00
Bruce Marriner
77d4767481 Set bot to deaf when connecting
This prevents a udp listener from starting which
is entirely unneeded for this type of bot.
2016-04-25 21:59:03 -05:00
Chris Rhodes
9ea982f36e Update README.md 2016-04-25 18:01:59 -07:00
Chris Rhodes
9c55dfbb8e Include dca-rs in example. 2016-04-25 17:59:19 -07:00
Chris Rhodes
290da20da7 Add a new example that acts like airhorn.solutions 2016-04-25 17:13:41 -07:00
Bruce Marriner
d69fac5eae Non-New() Methods no longer officially supported. 2016-04-22 16:30:37 -05:00
Bruce Marriner
61240175ae Don't ignore provided Tokens! 2016-04-22 13:46:15 -05:00
Bruce Marriner
b141b68b1f Spelling. 2016-04-22 13:14:12 -05:00
Bruce Marriner
f449da5ed4 Updated! 2016-04-22 13:13:38 -05:00
Bruce Marriner
b9edc87709 Added README to example 2016-04-22 13:11:12 -05:00
Bruce Marriner
fba35f09fe Updates to example! 2016-04-22 13:10:55 -05:00
Bruce Marriner
96a38bb480 new_basic -> main 2016-04-22 13:07:36 -05:00
Bruce Marriner
959cabecdd Added README for example 2016-04-22 13:03:43 -05:00
Bruce Marriner
68ebab258b Updates to example 2016-04-22 13:03:16 -05:00
Bruce Marriner
eb36cad0ff mytoken -> main 2016-04-22 12:59:50 -05:00
Bruce Marriner
2caf139893 Fixes :) 2016-04-22 12:58:59 -05:00
Bruce Marriner
b46bce66c4 Added README to api_basic 2016-04-22 12:57:55 -05:00
Bruce Marriner
1e8d2b9939 Update to api_basic example 2016-04-22 12:57:31 -05:00
Bruce Marriner
5980385f40 Rename api_basic to main 2016-04-22 12:48:30 -05:00
Bruce
34ce753718 Delete pingpong.go 2016-04-22 12:47:17 -05:00
Bruce Marriner
e0c0dd8c02 Updates to Ping Pong bot. 2016-04-22 12:45:22 -05:00
Bruce Marriner
d0ea58abb2 Spelling 2016-04-22 12:00:56 -05:00
Bruce Marriner
6ff8c4b218 Added AppMaker example 2016-04-22 11:57:34 -05:00
Bruce Marriner
b2111317bc Added README for examples folder 2016-04-22 10:58:58 -05:00
Bruce Marriner
19db45c7ee Adding Ping Pong example bot. 2016-04-22 10:40:50 -05:00
Bruce Marriner
c56fae4243 Added new example that displays user token 2016-04-22 10:13:41 -05:00
Chris Rhodes
6fa99712ef Finish converting large switch statement into a map of functions. 2016-02-14 18:48:37 -08:00
Chris Rhodes
8b39278c3e Get rid of Listen. 2016-01-21 10:58:13 -08:00
Chris Rhodes
c4869d7a43 Remove handshake. 2016-01-21 09:19:20 -08:00
Chris Rhodes
cd55a59ff9 Refactor open/close logic. Support OnConnect and OnDisconnect. 2016-01-20 22:47:34 -08:00
Chris Rhodes
3fbdb406de Fix basic example. 2016-01-17 14:19:46 -08:00
Chris Rhodes
da20bf63b5 Fix examples. 2016-01-08 09:49:29 -08:00
Bruce Marriner
29a6b3abef Renamed example to examples 2016-01-08 09:17:59 -06:00
Bruce Marriner
c721f61059 Removing demo, replacing it with new. 2015-11-13 22:19:45 -06:00
Bruce Marriner
bc6be21108 Pointless 2015-11-13 22:19:24 -06:00
Bruce Marriner
778a62b747 renamed examples folder. 2015-11-09 14:19:15 -06:00