This is an example template for a setup for an addon that uses Dongle. It shows how to use the various API's that dongle offers such as the slash commands and the database. -- This instantiates the Dongle object. From here you will be able to access -- the Dongle API. local addon = DongleStub('Dongle-1.1'):New('DongleAddonTemplate') -- This is the table containing the default entries for the database. if -- something cant be found in the database, this will automatically be -- checked. This will not get saved in the database table. local databasedefaults = { profile = { message = 'This is the default message!' } } --- PrintAbout: Print some text explaining the purpose of this addon. -- This is for the slash command handler 'about'. function addon:PrintAbout () self:Print([[This addon is
| Identifier (URI) | Rank |
|---|---|
| dbkwik:resource/47synpKSH42k-1kC2FaDaw== | 5.88129e-14 |