MCPcopy Create free account

hub / github.com/chrigeeel/SatanGo / functions

Functions505 in github.com/chrigeeel/SatanGo

↓ 1 callersMethodwaitUntilConnected
WaitUntilConnected waits for the Voice Connection to become ready, if it does not become ready it returns an err
cooldiscord/voice.go:253
↓ 1 callersFunctionwrite_json
(data, filename='parseddata2.json')
tlapi/perfCharDone/app.py:79
↓ 1 callersMethodwsHeartbeat
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 callersMethodwsListen
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
MethodAddHandler
AddHandler adds a Handler for VoiceSpeakingUpdate events.
cooldiscord/voice.go:216
MethodAddHandlerOnce
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
MethodApplication
Application returns an Application structure of a specific Application appID : The ID of an Application
cooldiscord/oauth2.go:62
MethodApplicationAssets
ApplicationAssets returns an application's assets
cooldiscord/oauth2.go:144
MethodApplicationBotCreate
------------------------------------------------------------------------------------------------ Code specific to Discord OAuth2 Application Bots ----
cooldiscord/oauth2.go:164
MethodApplicationCreate
ApplicationCreate creates a new Application name : Name of Application / Bot uris : Redirect URIs (Not required)
cooldiscord/oauth2.go:88
MethodApplicationDelete
ApplicationDelete deletes an existing Application appID : The ID of an Application
cooldiscord/oauth2.go:126
MethodApplicationUpdate
ApplicationUpdate updates an existing Application var : desc
cooldiscord/oauth2.go:107
MethodApplications
Applications returns all applications for the authenticated user
cooldiscord/oauth2.go:74
MethodAvatarURL
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
MethodChangeChannel
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
MethodChannelDelete
ChannelDelete deletes the given channel channelID : The ID of a Channel
cooldiscord/restapi.go:1440
MethodChannelEdit
ChannelEdit edits the given channel channelID : The ID of a Channel name : The new name to assign the channel.
cooldiscord/restapi.go:1419
MethodChannelFileSend
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
MethodChannelFileSendWithMessage
ChannelFileSendWithMessage sends a file to the given channel with an message. DEPRECATED. Use ChannelMessageSendComplex instead. channelID : The ID of
cooldiscord/restapi.go:1765
MethodChannelInviteCreate
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
MethodChannelInvites
ChannelInvites returns an array of Invite structures for the given channel channelID : The ID of a Channel
cooldiscord/restapi.go:1771
MethodChannelMessage
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
MethodChannelMessageAck
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
MethodChannelMessageCrosspost
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
MethodChannelMessageEdit
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
MethodChannelMessageEditEmbed
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
MethodChannelMessagePin
ChannelMessagePin pins a message within a given channel. channelID: The ID of a channel. messageID: The ID of a message.
cooldiscord/restapi.go:1721
MethodChannelMessageSend
ChannelMessageSend sends a message to the given channel. channelID : The ID of a Channel. content : The message to send.
cooldiscord/restapi.go:1529
MethodChannelMessageSendEmbed
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
MethodChannelMessageSendReply
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
MethodChannelMessageSendTTS
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
MethodChannelMessageUnpin
ChannelMessageUnpin unpins a message within a given channel. channelID: The ID of a channel. messageID: The ID of a message.
cooldiscord/restapi.go:1730
MethodChannelMessages
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
MethodChannelMessagesBulkDelete
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
MethodChannelMessagesPinned
ChannelMessagesPinned returns an array of Message structures for pinned messages within a given channel channelID : The ID of a Channel.
cooldiscord/restapi.go:1739
MethodChannelNewsFollow
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
MethodChannelPermissionDelete
ChannelPermissionDelete deletes a specific permission override for the given channel. NOTE: Name of this func may change.
cooldiscord/restapi.go:1821
MethodChannelPermissionSet
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
MethodChannelTyping
ChannelTyping broadcasts to all members that authenticated user is typing in the given channel. channelID : The ID of a Channel
cooldiscord/restapi.go:1454
MethodChannelWebhooks
ChannelWebhooks returns all webhooks for a given channel. channelID: The ID of a channel.
cooldiscord/restapi.go:2027
MethodContentWithMoreMentionsReplaced
ContentWithMoreMentionsReplaced will replace all @<id> mentions with the username of the mention, but also role IDs and more.
cooldiscord/message.go:404
MethodDisconnect
Disconnect disconnects from this voice channel and closes the websocket and udp connections to Discord.
cooldiscord/voice.go:139
MethodEmoji
Emoji returns an emoji for a guild and emoji id.
cooldiscord/state.go:561
MethodGatewayBot
GatewayBot returns the websocket Gateway address and the recommended number of shards
cooldiscord/restapi.go:1981
FunctionGetInvite
()
modules/getpw/getpw.go:144
MethodGuildAuditLog
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
MethodGuildBan
GuildBan finds ban by given guild and user id and returns GuildBan structure
cooldiscord/restapi.go:691
MethodGuildBanCreate
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
MethodGuildBanDelete
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
MethodGuildBans
GuildBans returns an array of GuildBan structures for all bans of a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:670
MethodGuildChannel
GuildChannel gets a channel by ID from a guild. This method is Deprecated, use Channel(channelID)
cooldiscord/state.go:534
MethodGuildChannelCreate
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
MethodGuildChannels
GuildChannels returns an array of Channel structures for all channels of a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:930
MethodGuildChannelsReorder
GuildChannelsReorder updates the order of channels in a guild guildID : The ID of a Guild. channels : Updated channels.
cooldiscord/restapi.go:983
MethodGuildCreate
GuildCreate creates a new Guild name : A name for the Guild (2-100 characters)
cooldiscord/restapi.go:589
MethodGuildDelete
GuildDelete deletes a Guild. guildID : The ID of a Guild
cooldiscord/restapi.go:648
MethodGuildEdit
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
MethodGuildEmbed
GuildEmbed returns the embed for a Guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1278
MethodGuildEmbedEdit
GuildEmbedEdit returns the embed for a Guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1291
MethodGuildEmojiCreate
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
MethodGuildEmojiDelete
GuildEmojiDelete deletes an Emoji. guildID : The ID of a Guild. emojiID : The ID of an Emoji.
cooldiscord/restapi.go:1394
MethodGuildEmojiEdit
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
MethodGuildEmojis
GuildEmojis returns all emoji guildID : The ID of a Guild.
cooldiscord/restapi.go:1337
MethodGuildIcon
GuildIcon returns an image.Image of a guild icon. guildID : The ID of a Guild.
cooldiscord/restapi.go:1234
MethodGuildIntegrationCreate
GuildIntegrationCreate creates a Guild Integration. guildID : The ID of a Guild. integrationType : The Integration type. integrationID :
cooldiscord/restapi.go:1184
MethodGuildIntegrationDelete
GuildIntegrationDelete removes the given integration from the Guild. guildID : The ID of a Guild. integrationID : The ID of an integration
cooldiscord/restapi.go:1217
MethodGuildIntegrationEdit
GuildIntegrationEdit edits a Guild Integration. guildID : The ID of a Guild. integrationType : The Integration type. integrationID
cooldiscord/restapi.go:1202
MethodGuildIntegrationSync
GuildIntegrationSync syncs an integration. guildID : The ID of a Guild. integrationID : The ID of an integration.
cooldiscord/restapi.go:1226
MethodGuildIntegrations
GuildIntegrations returns an array of Integrations for a guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1168
MethodGuildInvites
GuildInvites returns an array of Invite structures for the given guild guildID : The ID of a Guild.
cooldiscord/restapi.go:1001
MethodGuildLeave
GuildLeave leaves a Guild. guildID : The ID of a Guild
cooldiscord/restapi.go:661
MethodGuildMemberAdd
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
MethodGuildMemberDeafen
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
MethodGuildMemberDelete
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
MethodGuildMemberEdit
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
MethodGuildMemberMove
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
MethodGuildMemberMute
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
MethodGuildMemberNickname
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
MethodGuildMemberRoleAdd
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
MethodGuildMemberRoleRemove
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
MethodGuildMembers
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
MethodGuildPrune
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
MethodGuildPruneCount
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
MethodGuildRoleCreate
GuildRoleCreate returns a new Guild Role. guildID: The ID of a Guild.
cooldiscord/restapi.go:1027
MethodGuildRoleDelete
GuildRoleDelete deletes an existing role. guildID : The ID of a Guild. roleID : The ID of a Role.
cooldiscord/restapi.go:1091
MethodGuildRoleEdit
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
MethodGuildRoleReorder
GuildRoleReorder reoders guild roles guildID : The ID of a Guild. roles : A list of ordered roles.
cooldiscord/restapi.go:1076
MethodGuildRoles
GuildRoles returns all roles for a given guild. guildID : The ID of a Guild.
cooldiscord/restapi.go:1013
MethodGuildSplash
GuildSplash returns an image.Image of a guild splash image. guildID : The ID of a Guild.
cooldiscord/restapi.go:1256
MethodGuildWebhooks
GuildWebhooks returns all webhooks for a given guild. guildID: The ID of a Guild.
cooldiscord/restapi.go:2041
MethodHandle
Handle is the handler for ChannelCreate events.
cooldiscord/eventhandlers.go:70
MethodHandle
Handle is the handler for ChannelDelete events.
cooldiscord/eventhandlers.go:90
MethodHandle
Handle is the handler for ChannelPinsUpdate events.
cooldiscord/eventhandlers.go:110
MethodHandle
Handle is the handler for ChannelUpdate events.
cooldiscord/eventhandlers.go:130
MethodHandle
Handle is the handler for Connect events.
cooldiscord/eventhandlers.go:145
MethodHandle
Handle is the handler for Disconnect events.
cooldiscord/eventhandlers.go:160
MethodHandle
Handle is the handler for Event events.
cooldiscord/eventhandlers.go:175
MethodHandle
Handle is the handler for GuildBanAdd events.
cooldiscord/eventhandlers.go:195
MethodHandle
Handle is the handler for GuildBanRemove events.
cooldiscord/eventhandlers.go:215
MethodHandle
Handle is the handler for GuildCreate events.
cooldiscord/eventhandlers.go:235
← previousnext →201–300 of 505, ranked by callers