Date: 2024/12/25 17:37:12 UTC-08:00
Type: Denizen Script
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
discord_basics:
type: world
events:
after server start:
- ~discordconnect id:mybot token:<secret[my_bot_token]>
- discordmessage id:mybot channel:<server.flag[discord.logs.joins]> "**Server has come back online.**" if:<server.has_flag[discord.logs.joins]>
- define group <server.flag[discord.group]>
- definemap options:
1:
type: string
name: message
description: The message you want to send in admin chat.
required: true
- ~discordcommand id:mybot create group:<[group]> "description:Send a message in admin chat." name:ac options:<[options]>
- definemap options:
1:
type: string
name: command
description: The command you want to execute.
required: true
2:
type: boolean
name: shown
description: Whether you want this shown to others.
required: false
- ~discordcommand id:mybot create group:<[group]> "description:Executes a command from the console." name:console options:<[options]>
- discordcommand id:mybot create group:<[group]> "description:Checks if the server is online." name:online
# - definemap options:
# 1:
# type: number
# name: amount
# description: How many messages you want to delete.
# required: true
# - ~discordcommand id:mybot create group:<[group]> "description:Removes the previously specified number of messages from this channel." name:purge options:<[options]>
- definemap options:
1:
type: boolean
name: shown
description: Whether you want this shown to others.
required: false
- ~discordcommand id:mybot create group:<[group]> "description:Reloads all scripts." name:reload options:<[options]>
- definemap options:
1:
type: string
name: message
description: The message you want to send in staff chat.
required: true
- ~discordcommand id:mybot create group:<[group]> "description:Send a message in staff chat." name:sc options:<[options]>
- definemap options:
1:
type: string
name: type
description: Which platform you want to make a ticket about.
required: true
choices:
1:
name: Discord
value: discord
2:
name: Minecraft
value: minecraft
- ~discordcommand id:mybot create group:<server.flag[discord.group]> "description:Creates a ticket for staff." name:ticket options:<[options]>
- definemap options:
1:
type: user
name: user
description: Which user you want to ban from making tickets.
required: true
- ~discordcommand id:mybot create group:<[group]> "description:Bans a player from making tickets." name:ticketban options:<[options]>
- definemap options:
1:
type: user
name: user
description: Which user you want to unban from making tickets.
required: true
- ~discordcommand id:mybot create group:<[group]> "description:Unbans a player from making tickets." name:ticketunban options:<[options]>