Fedor Lapshin
b0fa920925
Slash commands ( #856 )
...
* UnknownBan error code addition
* GuildBan method implementation
* Gofmt fix
Gofmt fix
* Interactions: application commands basic API and gateway integration
* Some gitignore update
* Application commands and interactions API implementation
* Some fixes
* Some improvements of slash-commands example and slash-commands API
* OAuth2 endpoints backward compatibility
* Gofmt fix
* Requested fixes and documentation improvement for application commands
* Some fixes
* New and more interesting example of slash-commands usage, merging "interaction.go" and "interactions.go" into a single file. And some fixes.
* Gofmt and documentation fixes
* More fixes
* Gofmt fixes
* More fixes!
* Doc and endpoint fixes
* Gofmt fix
* Remove dependence on open gateway connection
* Remove redundant command ID checks
* Fix typo in ApplicationCommandCreate comment
* Tidy up function calls returning body
* Add upcoming API changes
* Correct return value name, swap parameter order
* Add Version field to ApplicationCommand
* Fix up language in comments
* Remove redundant conversion to float64
Co-authored-by: Carson Hoffman <c@rsonhoffman.com>
2021-02-28 21:54:02 -05:00
Carson Hoffman
657ac048fe
Switch example to use UpdateGameStatus
2021-01-20 19:33:43 -05:00
Carson Hoffman
167b649902
Remove support for optional intents
2021-01-20 18:18:34 -05:00
Carson Hoffman
38819ecd8e
Add barebones voice receive example
2020-07-21 21:47:59 -04:00
Carson Hoffman
84edff87fe
Remove obsolete examples
2020-07-18 11:57:58 -04:00
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