Skip to content

Instantly share code, notes, and snippets.

View melmsie's full-sized avatar
🤖
Working on Discord Bots

Melmsie melmsie

🤖
Working on Discord Bots
View GitHub Profile
@melmsie
melmsie / profile
Last active October 30, 2020 16:00
[pid 87039] 1561700644.477902 recvmsg(152, <unfinished ...>
[pid 87038] 1561700644.477928 futex(0x264f7c0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 87039] 1561700644.477952 <... recvmsg resumed> {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base=[{{len=20, type=NLMSG_DONE, flags=NLM_F_MULTI, seq=1561700644, pid=87018}, "\0\0\0\0"}, {{len=1, type=0x8 /* NLMSG_??? */, flags=NLM_F_REQUEST, seq=16777343, pid=131080}}], iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20 <0.000042>
[pid 87018] 1561700644.477973 <... futex resumed> ) = 1 <0.000195>
[pid 87039] 1561700644.477985 close(152 <unfinished ...>
[pid 87018] 1561700644.477995 futex(0x264f7c0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 87039] 1561700644.478015 <... close resumed> ) = 0 <0.000024>
[pid 87038] 1561700644.478032 <... futex resumed> ) = 0 <0.000099>
[pid 87039] 1561700644.478042 futex(0x7f76260647d0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 87038] 1561700644.478056 f
@melmsie
melmsie / lootbox.md
Last active June 30, 2021 14:41
Lootbox info for Dank Memer

Types of lootboxes

Normie Box

Can contain:

  • 150-850 coins
  • sand, chillpill, bread, cookie, pink phallic objects
@melmsie
melmsie / main.go
Created September 17, 2018 05:04
package main
import (
// "encoding/json"
"flag"
"fmt"
"github.com/bwmarrin/discordgo"
"log"
"net/http"
"os"
@melmsie
melmsie / test.js
Created September 15, 2018 17:54
//Main JS file
const Eris = require('eris');
Eris.Client.prototype.setupListeners = function() {
if (!this._listeners) this._listeners = [];
for (let listener of this._listeners) {
this.removeListener(listener.eventName, listener.listener);
}
const { inspect } = require('util')
const ProgrammaticREPL = require('programmatic-repl')
module.exports = {
help: 'repl',
fn: async ({ Memer, msg }) => {
const REPL = new ProgrammaticREPL({
includeNative: true,
includeBuiltinLibs: true,
stringifyResults: true,
10 Guy,
1950s Middle Finger,
1990s First World Problems,
1st World Canadian Problems,
2nd Term Obama,
8la8jeP,
Aaaaand Its Gone,
Ace Primo,
Actual Advice Mallard,
Adalia Rose,

Image Commands Maniupulate images with these commands

Memey Commands This is a meme bot, here are you memes

NSFW Commands This category is for 18+ users (it's porn)

Sound Commands

@melmsie
melmsie / CONTRIBUTING.md
Last active June 11, 2021 04:14
How to contribute to Dank Memer

Step one - Never use semi-colons if you can help it.

Step two - Tabs tabs tabs

Step three - ???

Step four - Profit