Documentation ¶
Overview ¶
* This file is part of the Discord-RAT project. * Repository: https://github.com/codeuk/discord-rat * * Written by codeuk (github.com/codeuk) * * Discord-RAT is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Discord-RAT is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Discord-RAT. If not, see <https://www.gnu.org/licenses/>.
Index ¶
Constants ¶
const ( EmbedColor = 0x000000 AvatarURL = "https://avatars.githubusercontent.com/u/75194878?s=400" )
Images, URLs and other variables that are constant in the embed.
Variables ¶
AvatarURL, Text: FooterText, }IconURL:
Standard embed footer to be used in every embed message.
var OSThumbnails = map[string]string{
"Windows": "https://pngimg.com/d/microsoft_PNG13.png",
"Linux": "https://www.freepnglogos.com/uploads/linux-png/linux-logo-logo-brands-for-0.png",
}
Thumbnails to use in the New Agent embed depending on the systems operating system.
Functions ¶
func ConstructHelpEmbed ¶
func ConstructHelpEmbed() *discordgo.MessageEmbed
ConstructHelpEmbed Creates and returns the embed containing helpful resources for Discord-RAT.
func ConstructMenuEmbed ¶
func ConstructMenuEmbed() *discordgo.MessageEmbed
ConstructMenuEmbed Creates and returns the embed containing the available commands.
func ConstructNewAgentEmbed ¶
func ConstructNewAgentEmbed(agent agent.Agent) *discordgo.MessageEmbed
ConstructNewAgentEmbed Creates and returns the initial embed to be sent to the agents channel with its basic system information for identification.
Types ¶
This section is empty.