Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

How to create a Theme for RTB

DeadBread76 edited this page Aug 12, 2019 · 1 revision

How to create a theme

Get the template Here

To Create a theme you will need to create the following images for:

The Title Text
The Splash Screen
The Window Icon
Joiner
Leaver
Group Leaver
Checker
Checker V2
Message Spammer
Ascii Spammer
Mass Mentioner
Role Mass Mentioner
VC Spammer
DM Spammer
Friend Bomber
Group Spammer
Image Spammer
Status Changer
Nickname Changer
Embed Spammer
Avatar Changer
Server Cleaner
Hypesquad Changer
Reaction Adder

(Recommended Dimensions for buttons are 220x45, however you can make them larger or smaller.) I recommend using Photoshop for this, or if you don't have that, paint.net is also very good.

Format

The images need to be converted to Base64, I recommend this site to convert them. (Keep the the b'', this is bytes.)

rtb_splash = b''

rtb_icon = b''

rtb_banner = b''

button_joiner = b''

Mp3 Music

You can optionally add music to your theme, it is done the same way as images, in Base64.

menu_mp3_filename = "example.mp3" # The name for the converted file.
menu_mp3_loop = True # True will make the mp3 loop forever, if the user has theme music enabled.

menu_mp3 = b''

Title

If the title image looks wrong, you can edit the padding until it looks good.

banner_size = (600, 100)
banner_padding = ((45, 10), 0)

Colours

The main menu colours are these values:

background_color = '#000000'
text_element_background_color = '#000000'
element_background_color = '#000000'
scrollbar_color = None
input_elements_background_color = '#636363'
input_text_color = 'white'
text_color = "white"
button_color = ('white', '#363636')

and the attack colours are these:

attacks_theme = {"preset_theme": "Dark2",
                 "button_colour": ('white', '#d70000'),
                 "use_custom_theme": False,  # Change to True For More personalization.
                 "background_color": '#000000',
                 "text_element_background_color": '#000000',
                 "element_background_color": '#000000',
                 "scrollbar_color": '#000000',
                 "input_elements_background_color": '#636363',
                 "input_text_color": 'white',
                 "text_color": "white",
                 "slider_text_color": "white"
                 }