SHOW:
|
|
- or go back to the newest paste.
1 | - | {require(917343705021698079)} |
1 | + | {require(1195806444721815704)} |
2 | ||
3 | {=(hex):0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} | |
4 | {=(rand.color):#{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}} | |
5 | ||
6 | {=(e1):<a:cute_n1:926687085262438442>} | |
7 | {=(e2):<a:cute_n2:926687085660880896>} | |
8 | {=(e3):<a:cute_n3:926687085337915446>} | |
9 | {=(e4):<a:cute_n4:926687085082083339>} | |
10 | {=(e5):<a:cute_n5:926687085342126122>} | |
11 | {=(e6):<a:cute_n6:926687084918497331>} | |
12 | {=(e7):<a:cute_n7:926687084901707818>} | |
13 | {=(e8):<a:cute_n8:926687085371478046>} | |
14 | ||
15 | {=(choices):{args(0):|}} | |
16 | {=(choices.2): | |
17 | ꒰{e1}꒱ {choices(1):;} | |
18 | ꒰{e2}꒱ {choices(2):;} | |
19 | } | |
20 | {=(choices.3): | |
21 | ꒰{e1}꒱ {choices(1):;} | |
22 | ꒰{e2}꒱ {choices(2):;} | |
23 | ꒰{e3}꒱ {choices(3):;} | |
24 | } | |
25 | {=(choices.4): | |
26 | ꒰{e1}꒱ {choices(1):;} | |
27 | ꒰{e2}꒱ {choices(2):;} | |
28 | ꒰{e3}꒱ {choices(3):;} | |
29 | ꒰{e4}꒱ {choices(4):;} | |
30 | } | |
31 | {=(choices.5): | |
32 | ꒰{e1}꒱ {choices(1):;} | |
33 | ꒰{e2}꒱ {choices(2):;} | |
34 | ꒰{e3}꒱ {choices(3):;} | |
35 | ꒰{e4}꒱ {choices(4):;} | |
36 | ꒰{e5}꒱ {choices(5):;} | |
37 | } | |
38 | {=(choices.6): | |
39 | ꒰{e1}꒱ {choices(1):;} | |
40 | ꒰{e2}꒱ {choices(2):;} | |
41 | ꒰{e3}꒱ {choices(3):;} | |
42 | ꒰{e4}꒱ {choices(4):;} | |
43 | ꒰{e5}꒱ {choices(5):;} | |
44 | ꒰{e6}꒱ {choices(6):;} | |
45 | } | |
46 | {=(choices.7): | |
47 | ꒰{e1}꒱ {choices(1):;} | |
48 | ꒰{e2}꒱ {choices(2):;} | |
49 | ꒰{e3}꒱ {choices(3):;} | |
50 | ꒰{e4}꒱ {choices(4):;} | |
51 | ꒰{e5}꒱ {choices(5):;} | |
52 | ꒰{e6}꒱ {choices(6):;} | |
53 | ꒰{e7}꒱ {choices(7):;} | |
54 | } | |
55 | {=(choices.8): | |
56 | ꒰{e1}꒱ {choices(1):;} | |
57 | ꒰{e2}꒱ {choices(2):;} | |
58 | ꒰{e3}꒱ {choices(3):;} | |
59 | ꒰{e4}꒱ {choices(4):;} | |
60 | ꒰{e5}꒱ {choices(5):;} | |
61 | ꒰{e6}꒱ {choices(6):;} | |
62 | ꒰{e7}꒱ {choices(7):;} | |
63 | ꒰{e8}꒱ {choices(8):;} | |
64 | } | |
65 | ||
66 | {=(desc): | |
67 | {all({choices(2):;}!={args(2):|}|{choices(0):;}=={choices(2):;}):{choices.2}} | |
68 | {all({choices(3):;}!={args(2):|}|{choices(0):;}=={choices(3):;}):{choices.3}} | |
69 | {all({choices(4):;}!={args(2):|}|{choices(0):;}=={choices(4):;}):{choices.4}} | |
70 | {all({choices(5):;}!={args(2):|}|{choices(0):;}=={choices(5):;}):{choices.5}} | |
71 | {all({choices(6):;}!={args(2):|}|{choices(0):;}=={choices(6):;}):{choices.6}} | |
72 | {all({choices(7):;}!={args(2):|}|{choices(0):;}=={choices(7):;}):{choices.7}} | |
73 | {all({choices(8):;}!={args(2):|}|{choices(0):;}=={choices(8):;}):{choices.8}} | |
74 | } | |
75 | ||
76 | {=(help): | |
77 | A tag to create Polls with up to 5 options! Aesthetic emotes added automatically! | |
78 | ||
79 | > __**Usage:**__ | |
80 | > (`[p]` is the prefix of the bot) | |
81 | > <a:pinkarrow:917638625179615232> `[p]qpoll [Poll Title]|[Choice 1]; [Choice 2];...` | |
82 | } | |
83 | ||
84 | {=(error):You must supply atleast 2 choices!} | |
85 | ||
86 | - | {=(emb.color):{rand.color}} |
86 | + | {=(emb.color):#313338} |
87 | {=(emb.title):{args(1):|}} | |
88 | {=(emb.desc):{desc}} | |
89 | ||
90 | ||
91 | {embed(color):{emb.color}} | |
92 | {embed(title):{all({in(|):{args}}==true|{in(;):{args}}==true):{emb.title}|{if({1}==help):Quick Polls|{if({args}==):Quick Polls|{all({in(|):{args}}==true|{in(;):{args}}==false):Error!}}}}} | |
93 | {embed(description):{all({in(|):{args}}==true|{in(;):{args}}==true):{emb.desc}} | |
94 | {any({1}==help|{1}==):{help}} | |
95 | {all({in(|):{args}}==true|{in(;):{args}}==false):{error}} | |
96 | } | |
97 | ||
98 | {break(in(|):{args}==false):{react:{all({choices(2):;}!={args(2):|}|{choices(0):;}=={choices(2):;}):{e1}, {e2}|{all({choices(3):;}!={args(2):|}|{choices(0):;}=={choices(3):;}):{e1}, {e2}, {e3}|{all({choices(4):;}!={args(2):|}|{choices(0):;}=={choices(4):;}):{e1}, {e2}, {e3}, {e4}|{all({choices(5):;}!={args(2):|}|{choices(0):;}=={choices(5):;}):{e1}, {e2}, {e3}, {e4}, {e5}|{all({choices(6):;}!={args(2):|}|{choices(0):;}=={choices(6):;}):{e1}, {e2}, {e3}, {e4}, {e5}|{all({choices(7):;}!={args(2):|}|{choices(0):;}=={choices(7):;}):{e1}, {e2}, {e3}, {e4}, {e5}|{all({choices(8):;}!={args(2):|}|{choices(0):;}=={choices(8):;}):{e1}, {e2}, {e3}, {e4}, {e5}}}}}}}}}} | |
99 | ||
100 | {delete} |