Skip to content

Commit 5d6b15a

Browse files
committed
feat: add support for bot nickname styles
- Added the $setBotNicknameStyle function to customize the bot's nickname style in a guild. - Added the $resetBotNicknameStyle function to restore the default nickname style. - Added enums for available nickname fonts and effects.
1 parent 7c7f30f commit 5d6b15a

13 files changed

Lines changed: 314 additions & 3 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { ArgType, NativeFunction } from "../../structures";
2+
declare const _default: NativeFunction<[{
3+
name: string;
4+
description: string;
5+
rest: false;
6+
type: ArgType.Guild;
7+
}], true>;
8+
export default _default;
9+
//# sourceMappingURL=resetBotNicknameStyle.d.ts.map

‎dist/native/bot/resetBotNicknameStyle.d.ts.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/native/bot/resetBotNicknameStyle.js‎

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/native/bot/resetBotNicknameStyle.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import { ArgType, NativeFunction } from "../../structures";
2+
export declare enum NicknameFonts {
3+
Bangers = 1,
4+
BioRhyme = 2,
5+
CherryBomb = 3,
6+
Chicle = 4,
7+
Compagnon = 5,
8+
MuseoModerno = 6,
9+
NeoCastel = 7,
10+
PixelifySans = 8,
11+
Ribes = 9,
12+
Sinistre = 10,
13+
Default = 11,
14+
ZillaSlab = 12
15+
}
16+
export declare enum NicknameEffects {
17+
Solid = 1,
18+
Gradient = 2,
19+
Neon = 3,
20+
Toon = 4,
21+
Pop = 5,
22+
Glow = 6
23+
}
24+
declare const _default: NativeFunction<[{
25+
name: string;
26+
description: string;
27+
rest: false;
28+
type: ArgType.Guild;
29+
}, {
30+
name: string;
31+
description: string;
32+
required: true;
33+
rest: false;
34+
type: ArgType.Enum;
35+
enum: typeof NicknameFonts;
36+
}, {
37+
name: string;
38+
description: string;
39+
required: true;
40+
rest: false;
41+
type: ArgType.Enum;
42+
enum: typeof NicknameEffects;
43+
}, {
44+
name: string;
45+
description: string;
46+
rest: true;
47+
type: ArgType.Color;
48+
}], true>;
49+
export default _default;
50+
//# sourceMappingURL=setBotNicknameStyle.d.ts.map

‎dist/native/bot/setBotNicknameStyle.d.ts.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/native/bot/setBotNicknameStyle.js‎

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/native/bot/setBotNicknameStyle.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)