-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sus.go
54 lines (51 loc) · 4.75 KB
/
sus.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package main
import (
"github.com/MadLadSquad/discordgo"
"math/rand"
"time"
)
func createSus(s *discordgo.Session) {
command := &discordgo.ApplicationCommand{
Name: "sus",
Type: discordgo.ChatApplicationCommand,
Description: "Returns a sussy message",
NameLocalizations: &map[discordgo.Locale]string{
discordgo.EnglishGB: "sus",
discordgo.EnglishUS: "sus",
discordgo.Bulgarian: "със",
},
DescriptionLocalizations: &map[discordgo.Locale]string{
discordgo.EnglishGB: "Returns a sussy message",
discordgo.EnglishUS: "Returns a sussy message",
discordgo.Bulgarian: "Връща подозрително съобщение",
},
}
_, _ = s.ApplicationCommandCreate(s.State.User.ID, "", command)
}
func sus(s *discordgo.Session, m *discordgo.InteractionCreate) {
sussyMessages := []string{"Say \"sus\" but backwards", "Say \"bus\" but replace the B with S",
"Say \"pegasus\" but replace the 'p' with 'm'", "Say \"sus\" but replace \"sus\" with \"sus\"",
"Say \"Amongus\" but replace \"Among\" with s", "Say \"I invented\" but remove the \"in\"",
"Are you sus? A: Yes; B: A", "Say \"I'm poster\" without the space", "Say \"sups\" without your lips touching",
"Say \"sus\" without touching your lips", "Say \"I'm gay\" but replace \"I'm gay\" with \"sus\" <@676763652367450112>",
"Say \"sussy\" but remove the 'y'",
"https://cdn.discordapp.com/attachments/785618029647364116/882576989314228244/unknown.png",
"Say \"sushi\" without the \"hi\"", "https://www.youtube.com/watch?v=OX0ceSQqED4", "https://cdn.discordapp.com/attachments/785618029647364116/882581905894178856/44769205c8fbd59cecea48f545b336d9.mp4",
"https://cdn.discordapp.com/attachments/785618029647364116/882579678412566558/VID_103171106_022930_740.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882579820364566528/b40ae52fc0707052be45af94367a9f92.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882580411883094016/d45249f55518039e4f2a6ccf1a1d2026.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882580496884826132/VID_273871207_103024_481.mp4",
"https://cdn.discordapp.com/attachments/785618029647364116/882580647464542258/aa69e48e55deda875f921fdb36af4305.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882581234163806219/e0152898d75fcc8f7704a19ec277da35.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882581379920056370/a39a1a617c63f04ed4cdd54338902159.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882581591040352256/02ee9b5b06a45fba5f6913a290bcaffc.mp4",
"https://cdn.discordapp.com/attachments/785618029647364116/882581784351637514/fadeeba67fc873cbc6de697e4e846645.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882582117861699644/543d1fca063a106431e845549c0b4a3e.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882582755576279100/375fdf4b26ae608941cc17de6ed281ee.mp4", "https://cdn.discordapp.com/attachments/785618029647364116/882583053602537492/fd08a12fa0a3cdc3cb7e1befeadfeab1.mp4",
"https://cdn.discordapp.com/attachments/785618029647364116/882583230010757160/8e46383b9ff1df0fbf3a789c9be4fea7.mp4", "https://youtube.com/shorts/zs8cC6ujbJc", "https://youtube.com/shorts/ZDZPr9_WM8Q", "https://cdn.discordapp.com/attachments/887988701907533856/892098783133962301/38f1aa17bb1b04b99ec2e112455d5930.mp4",
"https://cdn.discordapp.com/attachments/887988701907533856/892098783981207582/bb44cd5e518d0959fadc1bc50fe85a50.mp4", "https://cdn.discordapp.com/attachments/887988701907533856/892098784350334986/4f8c6742ce759f719af0256a88c6d5d9.mp4", "https://cdn.discordapp.com/attachments/887988701907533856/892098784350334986/4f8c6742ce759f719af0256a88c6d5d9.mp4",
"https://cdn.discordapp.com/attachments/887988701907533856/891947435688087582/d-1.mp4", "https://cdn.discordapp.com/attachments/813982446869151744/891923535721807882/Impostor.mp4", "https://youtu.be/5Z3Zo1nY6W0", "https://cdn.discordapp.com/attachments/887988701907533856/892099152006242374/4b64fd621bce64af243205f51d2e6e51.mp4", "https://cdn.discordapp.com/attachments/887988701907533856/892099286492401724/67061f471a02c43128f357a20a8336d2.mp4",
"https://cdn.discordapp.com/attachments/887988701907533856/892100345700966400/eba36cd940792a84ff43018a5d71711c.mp4", "https://cdn.discordapp.com/attachments/887988701907533856/892100346095210516/526e176017b85c6d0e38c438e27c8d1b.mp4", "https://cdn.discordapp.com/attachments/887988701907533856/892101096598798346/unknown.png",
}
rand.Seed(time.Now().UnixNano())
_ = s.InteractionRespond(m.Interaction, &discordgo.InteractionResponse{
Type: discordgo.InteractionResponseChannelMessageWithSource,
Data: &discordgo.InteractionResponseData{
TTS: false,
Content: sussyMessages[rand.Intn(len(sussyMessages))],
Flags: discordgo.MessageFlagsEphemeral,
},
})
}