You can set any server's data as well
You can also get / set guild (server) data using the same methods:
ds.defaultGuildData({ totalMoney: 0, users: [] }); const data = await ds.getGuildData('OPTIONAL-GUILD-ID'); const allData = await ds.getAllGuildData(); await ds.setGuildData({ totalMoney: 156, users: [ 'example-person', 'amazing-example' ] }, 'OPTIONAL-GUILD-ID');
Last updated 3 years ago