Dank Memer Grind Using Bookmarlets #16
NopeProsOnly
started this conversation in
Show and tell
Replies: 1 comment
-
If I didn't write it wrong, this code will post in order specified messages on {
id() // for new syntax it should be api.id() if I'm not wrong.
let channelId = "XXXXXXXXXXX"
// or
let channelId = cid
let messages = ['pls beg', 'pls fish', 'pls hunt', 'pls dig', 'pls dep all', 'pls bal'];
let i = 0;
var loop = true;
while (loop) {
let message = messages[i];
await api.sendMessage(channelId, message);
console.log(`Sent message "${message}" to channel ${channelId}`);
i = (i + 1) % messages.length;
await delay(5*1000); // Giving delay 5 second. Note: for new syntax it should be api.delay(delayMs)
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to grind Dank Memer Coins while working or doing something else. I decided to use bookmarklets.
I put this in a bookmark and clicked it. Then I typed a message.
Then to start the grind I made another bookmark!
To stop the grinding I made another bookmark!
To continue grinding I made another bookmark!
I would like to find a way to not have to type the message so that it is completely automatic (Except for my clicking buttons.)
Beta Was this translation helpful? Give feedback.
All reactions