Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrigeeel/SatanGo
/ functions
Functions
505 in github.com/chrigeeel/SatanGo
⨍
Functions
505
◇
Types & classes
284
↳
Endpoints
6
↓ 1 callers
Method
waitUntilConnected
WaitUntilConnected waits for the Voice Connection to become ready, if it does not become ready it returns an err
cooldiscord/voice.go:253
↓ 1 callers
Function
write_json
(data, filename='parseddata2.json')
tlapi/perfCharDone/app.py:79
↓ 1 callers
Method
wsHeartbeat
NOTE :: When a guild voice server changes how do we shut this down properly, so a new connection can be setup without fuss? wsHeartbeat sends regular
cooldiscord/voice.go:494
↓ 1 callers
Method
wsListen
wsListen listens on the voice websocket for messages and passes them to the voice event handler. This is automatically called by the Open func
cooldiscord/voice.go:344
Method
AddHandler
AddHandler adds a Handler for VoiceSpeakingUpdate events.
cooldiscord/voice.go:216
Method
AddHandlerOnce
AddHandlerOnce allows you to add an event handler that will be fired the next time the Discord WSAPI event that matches the function fires. See AddHan
cooldiscord/event.go:133
Method
Application
Application returns an Application structure of a specific Application appID : The ID of an Application
cooldiscord/oauth2.go:62
Method
ApplicationAssets
ApplicationAssets returns an application's assets
cooldiscord/oauth2.go:144
Method
ApplicationBotCreate
------------------------------------------------------------------------------------------------ Code specific to Discord OAuth2 Application Bots ----
cooldiscord/oauth2.go:164
Method
ApplicationCreate
ApplicationCreate creates a new Application name : Name of Application / Bot uris : Redirect URIs (Not required)
cooldiscord/oauth2.go:88
Method
ApplicationDelete
ApplicationDelete deletes an existing Application appID : The ID of an Application
cooldiscord/oauth2.go:126
Method
ApplicationUpdate
ApplicationUpdate updates an existing Application var : desc
cooldiscord/oauth2.go:107
Method
Applications
Applications returns all applications for the authenticated user
cooldiscord/oauth2.go:74
Method
AvatarURL
AvatarURL returns a URL to the user's avatar. size: The size of the user's avatar as a power of two if size is an empty string, no size parameter w
cooldiscord/user.go:92
Method
ChangeChannel
ChangeChannel sends Discord a request to change channels within a Guild !!! NOTE !!! This function may be removed in favour of just using ChannelVoice
cooldiscord/voice.go:118
Method
ChannelDelete
ChannelDelete deletes the given channel channelID : The ID of a Channel
cooldiscord/restapi.go:1440
Method
ChannelEdit
ChannelEdit edits the given channel channelID : The ID of a Channel name : The new name to assign the channel.
cooldiscord/restapi.go:1419
Method
ChannelFileSend
ChannelFileSend sends a file to the given channel. channelID : The ID of a Channel. name: The name of the file. io.Reader : A reader for the file cont
cooldiscord/restapi.go:1755
Method
ChannelFileSendWithMessage
ChannelFileSendWithMessage sends a file to the given channel with an message. DEPRECATED. Use ChannelMessageSendComplex instead. channelID : The ID of
cooldiscord/restapi.go:1765
Method
ChannelInviteCreate
ChannelInviteCreate creates a new invite for the given channel. channelID : The ID of a Channel i : An Invite struct with the values MaxAg
cooldiscord/restapi.go:1785
Method
ChannelInvites
ChannelInvites returns an array of Invite structures for the given channel channelID : The ID of a Channel
cooldiscord/restapi.go:1771
Method
ChannelMessage
ChannelMessage gets a single message by ID from a given channel. channeld : The ID of a Channel messageID : the ID of a Message
cooldiscord/restapi.go:1500
Method
ChannelMessageAck
ChannelMessageAck acknowledges and marks the given message as read channeld : The ID of a Channel messageID : the ID of a Message lastToken : token r
cooldiscord/restapi.go:1515
Method
ChannelMessageCrosspost
ChannelMessageCrosspost cross posts a message in a news channel to followers of the channel channelID : The ID of a Channel messageID : The ID of
cooldiscord/restapi.go:1831
Method
ChannelMessageEdit
ChannelMessageEdit edits an existing message, replacing it entirely with the given content. channelID : The ID of a Channel messageID : The ID of a
cooldiscord/restapi.go:1655
Method
ChannelMessageEditEmbed
ChannelMessageEditEmbed edits an existing message with embedded data. channelID : The ID of a Channel messageID : The ID of a Message embed : The
cooldiscord/restapi.go:1679
Method
ChannelMessagePin
ChannelMessagePin pins a message within a given channel. channelID: The ID of a channel. messageID: The ID of a message.
cooldiscord/restapi.go:1721
Method
ChannelMessageSend
ChannelMessageSend sends a message to the given channel. channelID : The ID of a Channel. content : The message to send.
cooldiscord/restapi.go:1529
Method
ChannelMessageSendEmbed
ChannelMessageSendEmbed sends a message to the given channel with embedded data. channelID : The ID of a Channel. embed : The embed data to send.
cooldiscord/restapi.go:1633
Method
ChannelMessageSendReply
ChannelMessageSendReply sends a message to the given channel with reference data. channelID : The ID of a Channel. content : The message to send. re
cooldiscord/restapi.go:1643
Method
ChannelMessageSendTTS
ChannelMessageSendTTS sends a message to the given channel with Text to Speech. channelID : The ID of a Channel. content : The message to send.
cooldiscord/restapi.go:1623
Method
ChannelMessageUnpin
ChannelMessageUnpin unpins a message within a given channel. channelID: The ID of a channel. messageID: The ID of a message.
cooldiscord/restapi.go:1730
Method
ChannelMessages
ChannelMessages returns an array of Message structures for messages within a given channel. channelID : The ID of a Channel. limit : The number me
cooldiscord/restapi.go:1467
Method
ChannelMessagesBulkDelete
ChannelMessagesBulkDelete bulk deletes the messages from the channel for the provided messageIDs. If only one messageID is in the slice call channelMe
cooldiscord/restapi.go:1695
Method
ChannelMessagesPinned
ChannelMessagesPinned returns an array of Message structures for pinned messages within a given channel channelID : The ID of a Channel.
cooldiscord/restapi.go:1739
Method
ChannelNewsFollow
ChannelNewsFollow follows a news channel in the targetID channelID : The ID of a News Channel targetID : The ID of a Channel where the News Chann
cooldiscord/restapi.go:1847
Method
ChannelPermissionDelete
ChannelPermissionDelete deletes a specific permission override for the given channel. NOTE: Name of this func may change.
cooldiscord/restapi.go:1821
Method
ChannelPermissionSet
ChannelPermissionSet creates a Permission Override for the given channel. NOTE: This func name may changed. Using Set instead of Create because you c
cooldiscord/restapi.go:1806
Method
ChannelTyping
ChannelTyping broadcasts to all members that authenticated user is typing in the given channel. channelID : The ID of a Channel
cooldiscord/restapi.go:1454
Method
ChannelWebhooks
ChannelWebhooks returns all webhooks for a given channel. channelID: The ID of a channel.
cooldiscord/restapi.go:2027
Method
ContentWithMoreMentionsReplaced
ContentWithMoreMentionsReplaced will replace all @<id> mentions with the username of the mention, but also role IDs and more.
cooldiscord/message.go:404
Method
Disconnect
Disconnect disconnects from this voice channel and closes the websocket and udp connections to Discord.
cooldiscord/voice.go:139
Method
Emoji
Emoji returns an emoji for a guild and emoji id.
cooldiscord/state.go:561
Method
GatewayBot
GatewayBot returns the websocket Gateway address and the recommended number of shards
cooldiscord/restapi.go:1981
Function
GetInvite
()
modules/getpw/getpw.go:144
Method
GuildAuditLog
GuildAuditLog returns the audit log for a Guild. guildID : The ID of a Guild. userID : If provided the log will be filtered for the given ID.
cooldiscord/restapi.go:1305
Method
GuildBan
GuildBan finds ban by given guild and user id and returns GuildBan structure
cooldiscord/restapi.go:691
Method
GuildBanCreate
GuildBanCreate bans the given user from the given guild. guildID : The ID of a Guild. userID : The ID of a User days : The number of days of
cooldiscord/restapi.go:686
Method
GuildBanDelete
GuildBanDelete removes the given user from the guild bans guildID : The ID of a Guild. userID : The ID of a User
cooldiscord/restapi.go:731
Method
GuildBans
GuildBans returns an array of GuildBan structures for all bans of a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:670
Method
GuildChannel
GuildChannel gets a channel by ID from a guild. This method is Deprecated, use Channel(channelID)
cooldiscord/state.go:534
Method
GuildChannelCreate
GuildChannelCreate creates a new channel in the given guild guildID : The ID of a Guild. name : Name of the channel (2-100 chars length) ctype
cooldiscord/restapi.go:973
Method
GuildChannels
GuildChannels returns an array of Channel structures for all channels of a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:930
Method
GuildChannelsReorder
GuildChannelsReorder updates the order of channels in a guild guildID : The ID of a Guild. channels : Updated channels.
cooldiscord/restapi.go:983
Method
GuildCreate
GuildCreate creates a new Guild name : A name for the Guild (2-100 characters)
cooldiscord/restapi.go:589
Method
GuildDelete
GuildDelete deletes a Guild. guildID : The ID of a Guild
cooldiscord/restapi.go:648
Method
GuildEdit
GuildEdit edits a new Guild guildID : The ID of a Guild g : A GuildParams struct with the values Name, Region and VerificationLevel defined.
cooldiscord/restapi.go:607
Method
GuildEmbed
GuildEmbed returns the embed for a Guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1278
Method
GuildEmbedEdit
GuildEmbedEdit returns the embed for a Guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1291
Method
GuildEmojiCreate
GuildEmojiCreate creates a new emoji guildID : The ID of a Guild. name : The Name of the Emoji. image : The base64 encoded emoji image, has to be
cooldiscord/restapi.go:1353
Method
GuildEmojiDelete
GuildEmojiDelete deletes an Emoji. guildID : The ID of a Guild. emojiID : The ID of an Emoji.
cooldiscord/restapi.go:1394
Method
GuildEmojiEdit
GuildEmojiEdit modifies an emoji guildID : The ID of a Guild. emojiID : The ID of an Emoji. name : The Name of the Emoji. roles : The roles for w
cooldiscord/restapi.go:1375
Method
GuildEmojis
GuildEmojis returns all emoji guildID : The ID of a Guild.
cooldiscord/restapi.go:1337
Method
GuildIcon
GuildIcon returns an image.Image of a guild icon. guildID : The ID of a Guild.
cooldiscord/restapi.go:1234
Method
GuildIntegrationCreate
GuildIntegrationCreate creates a Guild Integration. guildID : The ID of a Guild. integrationType : The Integration type. integrationID :
cooldiscord/restapi.go:1184
Method
GuildIntegrationDelete
GuildIntegrationDelete removes the given integration from the Guild. guildID : The ID of a Guild. integrationID : The ID of an integration
cooldiscord/restapi.go:1217
Method
GuildIntegrationEdit
GuildIntegrationEdit edits a Guild Integration. guildID : The ID of a Guild. integrationType : The Integration type. integrationID
cooldiscord/restapi.go:1202
Method
GuildIntegrationSync
GuildIntegrationSync syncs an integration. guildID : The ID of a Guild. integrationID : The ID of an integration.
cooldiscord/restapi.go:1226
Method
GuildIntegrations
GuildIntegrations returns an array of Integrations for a guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1168
Method
GuildInvites
GuildInvites returns an array of Invite structures for the given guild guildID : The ID of a Guild.
cooldiscord/restapi.go:1001
Method
GuildLeave
GuildLeave leaves a Guild. guildID : The ID of a Guild
cooldiscord/restapi.go:661
Method
GuildMemberAdd
GuildMemberAdd force joins a user to the guild. accessToken : Valid access_token for the user. guildID : The ID of a Guild. userID : Th
cooldiscord/restapi.go:790
Method
GuildMemberDeafen
GuildMemberDeafen server deafens a guild member guildID : The ID of a Guild. userID : The ID of a User. deaf : boolean value for if the user s
cooldiscord/restapi.go:896
Method
GuildMemberDelete
GuildMemberDelete removes the given user from the given guild. guildID : The ID of a Guild. userID : The ID of a User
cooldiscord/restapi.go:811
Method
GuildMemberEdit
GuildMemberEdit edits the roles of a member. guildID : The ID of a Guild. userID : The ID of a User. roles : A list of role ID's to set on the m
cooldiscord/restapi.go:835
Method
GuildMemberMove
GuildMemberMove moves a guild member from one voice channel to another/none guildID : The ID of a Guild. userID : The ID of a User. channelID : T
cooldiscord/restapi.go:851
Method
GuildMemberMute
GuildMemberMute server mutes a guild member guildID : The ID of a Guild. userID : The ID of a User. mute : boolean value for if the user shoul
cooldiscord/restapi.go:883
Method
GuildMemberNickname
GuildMemberNickname updates the nickname of a guild member guildID : The ID of a guild userID : The ID of a user userID : The ID of a user or
cooldiscord/restapi.go:865
Method
GuildMemberRoleAdd
GuildMemberRoleAdd adds the specified role to a given member guildID : The ID of a Guild. userID : The ID of a User. roleID : The ID of a Role
cooldiscord/restapi.go:909
Method
GuildMemberRoleRemove
GuildMemberRoleRemove removes the specified role to a given member guildID : The ID of a Guild. userID : The ID of a User. roleID : The ID of
cooldiscord/restapi.go:920
Method
GuildMembers
GuildMembers returns a list of members for a guild. guildID : The ID of a Guild. after : The id of the member to return members after limit : m
cooldiscord/restapi.go:741
Method
GuildPrune
GuildPrune Begin as prune operation. Requires the 'KICK_MEMBERS' permission. Returns an object with one 'pruned' key indicating the number of members
cooldiscord/restapi.go:1134
Method
GuildPruneCount
GuildPruneCount Returns the number of members that would be removed in a prune operation. Requires 'KICK_MEMBER' permission. guildID : The ID of a Gui
cooldiscord/restapi.go:1102
Method
GuildRoleCreate
GuildRoleCreate returns a new Guild Role. guildID: The ID of a Guild.
cooldiscord/restapi.go:1027
Method
GuildRoleDelete
GuildRoleDelete deletes an existing role. guildID : The ID of a Guild. roleID : The ID of a Role.
cooldiscord/restapi.go:1091
Method
GuildRoleEdit
GuildRoleEdit updates an existing Guild Role with new values guildID : The ID of a Guild. roleID : The ID of a Role. name : The name of the
cooldiscord/restapi.go:1047
Method
GuildRoleReorder
GuildRoleReorder reoders guild roles guildID : The ID of a Guild. roles : A list of ordered roles.
cooldiscord/restapi.go:1076
Method
GuildRoles
GuildRoles returns all roles for a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1013
Method
GuildSplash
GuildSplash returns an image.Image of a guild splash image. guildID : The ID of a Guild.
cooldiscord/restapi.go:1256
Method
GuildWebhooks
GuildWebhooks returns all webhooks for a given guild. guildID: The ID of a Guild.
cooldiscord/restapi.go:2041
Method
Handle
Handle is the handler for ChannelCreate events.
cooldiscord/eventhandlers.go:70
Method
Handle
Handle is the handler for ChannelDelete events.
cooldiscord/eventhandlers.go:90
Method
Handle
Handle is the handler for ChannelPinsUpdate events.
cooldiscord/eventhandlers.go:110
Method
Handle
Handle is the handler for ChannelUpdate events.
cooldiscord/eventhandlers.go:130
Method
Handle
Handle is the handler for Connect events.
cooldiscord/eventhandlers.go:145
Method
Handle
Handle is the handler for Disconnect events.
cooldiscord/eventhandlers.go:160
Method
Handle
Handle is the handler for Event events.
cooldiscord/eventhandlers.go:175
Method
Handle
Handle is the handler for GuildBanAdd events.
cooldiscord/eventhandlers.go:195
Method
Handle
Handle is the handler for GuildBanRemove events.
cooldiscord/eventhandlers.go:215
Method
Handle
Handle is the handler for GuildCreate events.
cooldiscord/eventhandlers.go:235
← previous
next →
201–300 of 505, ranked by callers