Skip to content

LITdevs/OMGEX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMGEX ("OMG Extended") Discord

Extended profile features for OMG.LOL, your favorite pigeon community. OMGEX supports all default OMG.LOL themes.

If you have any bugs or feature requests, feel free to report them or contribute!

Installation

Add the following to your OMG.LOL page's <head> (you can find this in your profile settings), then customize the options as desired.

<script src="https://cdn.jsdelivr.net/gh/litdevs/omgex@latest/OMGEX.js"></script>
<script>
window.addEventListener('load', function() {
    OMGEX({karma: "vukky", zodiac: "♓", birthday: "March 5", timezone: "Europe/Oslo", displaySeconds: true, force24h: true, fields: [{icon: "cat", text: "niko <3"}]});
});
</script>

Configuration

OMGEX has a few settings you can use to customize what it displays. You'll need at least one, or else it'll throw an error.

karma

This displays your current karma on the OMG.LOL IRC server. The value is the address people give your karma to (usually the same as your OMG.LOL address).

zodiac

This displays your zodiac sign next to your pronouns.

birthday

This displays your birthday underneath your occupation and location.

timezone

This displays your current time underneath your birthday (if enabled) or else, occupation and location. You can find a list of acceptable strings here (the TZ database name).

You may notice that you can also just specify for example CET, but BE WARNED! Some timezones have conflicting names, so it's recommended to just use the TZ database name.

displaySeconds

Set this to true to display seconds in the current time (HH:MM:SS).

force24h

Set this to true to force the 24-hour clock in the current time.

fields

This is an array of objects, allowing you to add custom fields. Each object can have an icon and some text. The icon must be the name of a free Font Awesome icon.

promoteOMGEX

OMGEX adds a link to its GitHub repo in the footer, but this can be disabled if you prefer - just set this option to false. You won't really have to do this if you're already hiding the footer, since it won't display.