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

Slashes for discord #2

Open
wants to merge 289 commits into
base: yagpdb
Choose a base branch
from
Open

Conversation

Engineer152
Copy link
Owner

No description provided.

bwmarrin and others added 30 commits August 27, 2018 15:37
…ection

feature: add ChannelVoiceJoinManual
Added GuildChannelCreateComplex
* Latency method

* fixed typo

* fixed linter error

* Renamed Latency to HeartbeatLatency

* HeartbeatLatency now returns time.Time

* return time.Duration instead, since .Sub() returns that

* Add full-stops to end of comments
* track membercount on memberAdd and leave

* requested changes
* Fixed travis test failing for older versions of go

* changed supported go version
* track membercount on memberAdd and leave

* requested changes

* add WebhookID member to message
Update expired Discord API invite link
* Bump to v0.17.0

* Add members from GuildMembersChunk to state (bwmarrin#454)

* Revert "Add members from GuildMembersChunk to state (bwmarrin#454)" (bwmarrin#455)

This reverts commit e4487b3.

* added clarification when initializing discordgo

from the code I ran on my system with the latest changes this seems to be the syntax for the authentication tokens. I'm guessing it was just never updated.
Let me know if this is incorrect. 
Thanks!

* travis: update go versions

* Add "Priority Speaker" permission constant

The permission "Priority Speaker" was missing as constant. Permission has been added as constant and to the "PermissionAllVoice" constant as well.
added SnowflakeTimestamp utility function
Added copy of previous Message state to MessageUpdate
The previous documentation stated that the response type was an array of User structures, when the function return an array of GuildBan structures.
Add proper response type for GuildBans docs
As per discord/discord-api-docs#967, _trace in OP10 HELLO is no
longer an array of strings, but rather an undefined glob of data that
presently contains a mixed bag of strings and objects.

type helloOp does not seem to be exposed outside of the library, so this
is not a breaking change; furthermore, the Trace field of helloOp was
not used anywhere within the library. It seems like it would be safer to
just remove the field outright, rather than accept it as an interface{}
and waste cycles unmarshaling data that is never used.

This is a critically breaking bug, as if the upstream change is merged,
bots using DiscordGo prior to this patch will be unable to connect; an
error would occur when trying to unmarshal the new data glob into a
[]string, causing (*Session).Open() to prematurely return.
Base automatically changed from yagpdb to oldyagpdb February 26, 2021 17:57
Base automatically changed from oldyagpdb to yagpdb March 1, 2021 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet