MCPcopy Create free account

hub / github.com/chrigeeel/SatanGo / functions

Functions505 in github.com/chrigeeel/SatanGo

↓ 511 callersFunctionRed
(data string)
colors/colors.go:27
↓ 332 callersFunctionPrefix
()
colors/colors.go:11
↓ 271 callersFunctionWhite
(data string)
colors/colors.go:39
↓ 189 callersFunctionTaskPrefix
(id int)
colors/colors.go:18
↓ 113 callersMethodRequestWithBucketID
RequestWithBucketID makes a (GET/POST/...) Requests to Discord REST API with JSON data.
cooldiscord/restapi.go:50
↓ 74 callersFunctionGreen
(data string)
colors/colors.go:31
↓ 73 callersFunctionunmarshal
(data []byte, v interface{})
cooldiscord/restapi.go:174
↓ 65 callersMethodClose
Close closes a websocket and stops all listening/heartbeat goroutines. TODO: Add support for Voice WS/UDP
cooldiscord/wsapi.go:919
↓ 65 callersFunctionYellow
(data string)
colors/colors.go:35
↓ 51 callersMethodlog
helper function that wraps msglog for the Session struct This adds a check to insure the message is only logged if the session log level is equal or h
cooldiscord/logging.go:71
↓ 51 callersMethodlog
helper function that wraps msglog for the VoiceConnection struct This adds a check to insure the message is only logged if the voice connection log le
cooldiscord/logging.go:84
↓ 40 callersFunctionregisterInterfaceProvider
registerInterfaceProvider registers a provider so that DiscordGo can access it's New() method.
cooldiscord/event.go:46
↓ 34 callersMethodNew
New returns a new instance of the struct this event handler handles. This is called once per event. The struct is provided to all handlers of the same
cooldiscord/event.go:23
↓ 20 callersFunctionAskForSilent
()
utility/ask.go:15
↓ 20 callersMethodGuild
Guild gets a guild by ID. Useful for querying if @me is in a guild: _, err := discordgo.Session.State.Guild(guildID) isInGuild := err == nil
cooldiscord/state.go:168
↓ 16 callersMethodString
String returns a unique identifier of the form username#discriminator
cooldiscord/user.go:79
↓ 15 callersFunctionaskFor
(question string)
loader/profiles.go:112
↓ 14 callersFunctionRemoveIndex
(profiles []loader.ProfileStruct, s int)
utility/utility.go:8
↓ 12 callersMethodChannel
Channel gets a channel by ID, it will look in all guilds and private channels.
cooldiscord/state.go:545
↓ 11 callersFunctionNewSuccess
(wurl string, successData SuccessStruct)
utility/success.go:19
↓ 9 callersFunctionAskForProfiles
(profiles []loader.ProfileStruct)
utility/ask.go:22
↓ 8 callersMethodOpen
Open creates a websocket connection to Discord. See: https://discord.com/developers/docs/topics/gateway#connecting
cooldiscord/wsapi.go:50
↓ 8 callersMethodType
Type returns the type of event this handler belongs to.
cooldiscord/event.go:6
↓ 7 callersFunctionCoolClient
(proxy string)
utility/coolclient.go:14
↓ 6 callersFunctionAuthKeySilent
(key string)
loader/auth.go:122
↓ 6 callersMethodChannelMessageSendComplex
ChannelMessageSendComplex sends a message to the given channel. channelID : The ID of a Channel. data : The message struct to send.
cooldiscord/restapi.go:1540
↓ 6 callersFunctionGetPw2
(site string)
modules/getpw/getpw.go:30
↓ 6 callersFunctionocr
(input_image)
tlapi/app.py:82
↓ 6 callersFunctionocr
(input_image)
tlapi/perfCharDone/app.py:203
↓ 5 callersFunctionAskForPwShare
()
modules/getpw/pwshare.go:133
↓ 5 callersMethodMember
Member gets a member by ID from a guild.
cooldiscord/state.go:354
↓ 5 callersMethodhandleEvent
Handles an event type by calling internal methods, firing handlers and firing the interface{} event.
cooldiscord/event.go:187
↓ 4 callersMethodGuild
------------------------------------------------------------------------------------------------ Functions specific to Discord Guilds ----------------
cooldiscord/restapi.go:577
↓ 4 callersMethodHandle
Handle is called whenever an event of Type() happens. It is the receivers responsibility to type assert that the interface is the expected struct.
cooldiscord/event.go:11
↓ 4 callersMethodMemberAdd
TODO: Consider moving Guild state update methods onto *Guild. MemberAdd adds a member to the current world state, or updates it if it already exists.
cooldiscord/state.go:284
↓ 4 callersFunctionPWSharingSend2
(p PWStruct)
modules/getpw/pwshare.go:125
↓ 3 callersMethodAPIName
APIName returns an correctly formatted API name for use in the MessageReactions endpoints.
cooldiscord/structs.go:370
↓ 3 callersFunctionAuthRoutine
(key string)
loader/auth.go:168
↓ 3 callersMethodClose
Close closes the voice ws and udp connections
cooldiscord/voice.go:165
↓ 3 callersFunctionLoadProfiles
()
loader/profiles.go:44
↓ 3 callersMethodLockBucketObject
LockBucketObject Locks an already resolved bucket until a request can be made
cooldiscord/ratelimit.go:95
↓ 3 callersMethodRelease
Release unlocks the bucket and reads the headers to update the buckets ratelimit info and locks up the whole thing in case if there's a global ratelim
cooldiscord/ratelimit.go:122
↓ 3 callersMethodUpdateStatusComplex
UpdateStatusComplex allows for sending the raw status update data untouched by discordgo.
cooldiscord/wsapi.go:385
↓ 3 callersFunctionmemberPermissions
Calculates the permissions for a member. https://support.discord.com/hc/en-us/articles/206141927-How-is-the-permission-hierarchy-structured-
cooldiscord/restapi.go:506
↓ 3 callersFunctionnewUpdateStatusData
(idle int, activityType ActivityType, name, url string)
cooldiscord/wsapi.go:336
↓ 3 callersMethodonEvent
onEvent is the "event handler" for all messages received on the Discord Gateway API websocket connection. If you use the AddHandler() function to reg
cooldiscord/wsapi.go:470
↓ 3 callersMethodreconnect
()
cooldiscord/wsapi.go:862
↓ 3 callersMethodrelationshipCreate
relationshipCreate creates a new relationship. (I.e. send or accept a friend request, block a user.) relationshipType : 1 = friend, 2 = blocked, 3 = i
cooldiscord/restapi.go:2290
↓ 3 callersMethodrequest
request makes a (GET/POST/...) Requests to Discord REST API. Sequence is the sequence number, if it fails with a 502 it will retry with sequence+1 unt
cooldiscord/restapi.go:65
↓ 3 callersFunctionsetGuildIds
setGuildIds will set the GuildID on all the members of a guild. This is done as event data does not have it set.
cooldiscord/event.go:203
↓ 2 callersFunctionAESDecrypt
(plaintext string, secret string)
loader/auth.go:203
↓ 2 callersFunctionAESEncrypt
(plaintext string, secret string)
loader/auth.go:187
↓ 2 callersMethodChannel
------------------------------------------------------------------------------------------------ Functions specific to Discord Channels --------------
cooldiscord/restapi.go:1406
↓ 2 callersMethodChannelAdd
ChannelAdd adds a channel to the current world state, or updates it if it already exists. Channels may exist either as PrivateChannels or inside a gui
cooldiscord/state.go:452
↓ 2 callersMethodChannelMessageEditComplex
ChannelMessageEditComplex edits an existing message, replacing it entirely with the given MessageEdit struct
cooldiscord/restapi.go:1661
↓ 2 callersMethodCloseWithCode
CloseWithCode closes a websocket using the provided closeCode and stops all listening/heartbeat goroutines. TODO: Add support for Voice WS/UDP connect
cooldiscord/wsapi.go:926
↓ 2 callersMethodContentWithMentionsReplaced
ContentWithMentionsReplaced will replace all @<id> mentions with the username of the mention.
cooldiscord/message.go:388
↓ 2 callersFunctionCreateProfile
(profiles []ProfileStruct)
loader/profiles.go:85
↓ 2 callersMethodGuildAdd
GuildAdd adds a guild to the current world state, or updates it if it already exists.
cooldiscord/state.go:83
↓ 2 callersFunctionInput
(userData loader.UserDataStruct, profiles []loader.ProfileStruct, proxies []string, mode string)
modules/tldash/input.go:21
↓ 2 callersFunctionLoadProxies
()
loader/loader.go:73
↓ 2 callersFunctionLogin
(hyperAccountId string, site string, profiles []loader.ProfileStruct)
modules/hyper/login.go:17
↓ 2 callersMethodLogin
------------------------------------------------------------------------------------------------ Functions specific to Discord Sessions --------------
cooldiscord/restapi.go:194
↓ 2 callersMethodMessage
Message gets a message by channel and message ID.
cooldiscord/state.go:752
↓ 2 callersMethodMessageAdd
MessageAdd adds a message to the current world state, or updates it if it exists. If the channel cannot be found, the message is discarded. Messages a
cooldiscord/state.go:621
↓ 2 callersFunctionNewMessageEdit
NewMessageEdit returns a MessageEdit struct, initialized with the Channel and ID.
cooldiscord/message.go:174
↓ 2 callersFunctionNewState
NewState creates an empty state.
cooldiscord/state.go:55
↓ 2 callersMethodPresenceAdd
PresenceAdd adds a presence to the current world state, or updates it if it already exists.
cooldiscord/state.go:185
↓ 2 callersMethodRoleAdd
RoleAdd adds a role to the current world state, or updates it if it already exists.
cooldiscord/state.go:377
↓ 2 callersFunctionSolvebp
(domain string)
modules/hyper/bp.go:19
↓ 2 callersMethodUser
------------------------------------------------------------------------------------------------ Functions specific to Discord Users -----------------
cooldiscord/restapi.go:274
↓ 2 callersFunctionconstCase
(name string)
cooldiscord/tools/cmd/eventhandlers/main.go:101
↓ 2 callersMethodcreateMemberMap
(guild *Guild)
cooldiscord/state.go:73
↓ 2 callersFunctionfirstRoleColorColor
(guild *Guild, memberRoles []string)
cooldiscord/state.go:1083
↓ 2 callersMethodhandle
Handles calling permanent and once handlers for an event type.
cooldiscord/event.go:164
↓ 2 callersFunctionhandlerForInterface
(handler interface{})
cooldiscord/eventhandlers.go:916
↓ 2 callersMethodidentify
identify sends the identify packet to the gateway
cooldiscord/wsapi.go:754
↓ 2 callersMethodmessageRemoveByID
messageRemoveByID removes a message by channelID and messageID from the world state.
cooldiscord/state.go:681
↓ 2 callersFunctionmsglog
msglog provides package wide logging consistency for discordgo the format, a... portion this command follows that of fmt.Printf msgL : LogLevel of
cooldiscord/logging.go:46
↓ 2 callersMethodopen
Open opens a voice connection. This should be called after VoiceChannelJoin is used and the data VOICE websocket events are captured.
cooldiscord/voice.go:278
↓ 2 callersFunctionparse
()
tlapi/perfCharDone/app.py:83
↓ 2 callersMethodreconnect
Reconnect will close down a voice connection then immediately try to reconnect to that session. NOTE : This func is messy and a WIP while I find what
cooldiscord/voice.go:854
↓ 2 callersMethodremoveEventHandlerInstance
removeEventHandler instance removes an event handler instance.
cooldiscord/event.go:144
↓ 2 callersMethodrequestGuildMembers
(data requestGuildMembersData)
cooldiscord/wsapi.go:446
↓ 2 callersFunctiontaskfcfsCool
(wg *sync.WaitGroup, userData loader.UserDataStruct, id int, releaseId string, password string, paid bool, col
modules/hyper/taskfcfscool.go:17
↓ 1 callersFunctionAESDecrypt
(plaintext string, secret string)
utility/utility.go:28
↓ 1 callersFunctionAESEncrypt
(plaintext string, secret string)
utility/utility.go:12
↓ 1 callersMethodAddHandler
AddHandler allows you to add an event handler that will be fired anytime the Discord WSAPI event that matches the function fires. The first parameter
cooldiscord/event.go:120
↓ 1 callersFunctionAuthKeyDirect
(key string, silent bool)
loader/auth.go:64
↓ 1 callersFunctionCallClear
()
menus/clear.go:28
↓ 1 callersMethodChannelEditComplex
ChannelEditComplex edits an existing channel, replacing the parameters entirely with ChannelEdit struct channelID : The ID of a Channel data
cooldiscord/restapi.go:1428
↓ 1 callersMethodChannelMessageDelete
ChannelMessageDelete deletes a message from the Channel.
cooldiscord/restapi.go:1684
↓ 1 callersMethodChannelRemove
ChannelRemove removes a channel from current world state.
cooldiscord/state.go:490
↓ 1 callersMethodChannelVoiceJoin
ChannelVoiceJoin joins the session user to a voice channel. gID : Guild ID of the channel to join. cID : Channel ID of the channel to join. m
cooldiscord/wsapi.go:617
↓ 1 callersMethodChannelVoiceJoinManual
ChannelVoiceJoinManual initiates a voice session to a voice channel, but does not complete it. This should only be used when the VoiceServerUpdate wi
cooldiscord/wsapi.go:664
↓ 1 callersFunctionCheckForUpdate
(userData UserDataStruct)
loader/update.go:23
↓ 1 callersFunctionCreateSettings
()
loader/loader.go:22
↓ 1 callersMethodEmojiAdd
EmojiAdd adds an emoji to the current world state.
cooldiscord/state.go:584
↓ 1 callersMethodEmojisAdd
EmojisAdd adds multiple emojis to the world state.
cooldiscord/state.go:609
↓ 1 callersMethodError
()
cooldiscord/types.go:55
next →1–100 of 505, ranked by callers