Easiest way to assign premium to self?
I set up this bot using the dockerfile, and was wondering if there's an easy way to assign my own server(s) premium without digging in to the code to change values. I'm not very familiar with docker or rust, so changing the code would be a bit of a challenge for me 😅
11 Replies
Slightly different issue; I see that the bot knows there's 5 upvotes for this message, but it does not display in the starboard. There's no filters applied to that starboard...
^ even when forced it doesn't want to post, even though it has the appropriate permissions.
Remind me to answer in a couple hours
@Da Bald Eagul for the first question, you'll have to edit the database directly. Assuming you know how to use postgresql, you can just update your user and give yourself credits.
You can also do this with the
star sql
command, but make sure your user ID is in the owner_ids .env var, and that development=true (otherwise it'll force-rollback the change.)
After this you can just use /premium redeem
star sql
return=true
Query ?query? ran 1 times, with an average time of 3.326044ms.
Is the original message in an NSFW channel? if it is, you'll have to make the starboard channel NSFW also, otherwise it won't show up
Done.
Tip: Use
/premium autoredeem enable
to enable autoredeem for this server, so you don't have to repeatedly redeem credits.Alright thanks
Ahhhh okay
🤔 am I doing anything wrong?
(Name is blurred because it's my actual name in that server 😅)
Try adding rollback=false
That worked, thanks!