note: this page has been left as is for historical reasons. most information is outdated, and mwrapper and femboy-meter are no longer being developed.
an updated fork of femboy-meter is available called twink-meter. it uses the prefix "@twink ", and its github can be found here.
hello, and welcome to jaxon's bots for meower! this is where i'll be hosting documentation for my bots, information on mwrapper, and more goodies. everything on here is free for you to use, so if you're confused on anything you can simply look it up.
this section is for my bots. if you want to, you can use the source code for each for a basis of your bot (but don't directly copy my bot, as that's considered stealing ❤️)
femboy-meter is a fun and games bot i'm developing that's based around being a femboy and trading your femboy-ness for the currency, "fembucks". this bot is really just a test of my abilities as a coder, and a basis of code for understanding mwrapper.
most of my bots will rely on:
my bots are almost always on ESM (which means "import
" can be used).
documentation for each of these bots can be found by going to the bot list and looking for the bot, then clicking on the link referencing its name in the description. this will take you to the documentation for said bot, as well as allow you to go to a different issues/github page.
mwrapper is a custom wrapper i made for meower. it uses CommonJS (meaning you can use "require()
") and it is quite simple to use.
to run and use mwrapper, you need to have:
once you have all of these packages installed or ready, you can now use mwrapper to connect to meower or make a bot.
here is a simple script you can base off of.
// import mwrapper's "Bot" class
import pkg from './wrapper.cjs';
const { Bot } = pkg;
// make a new bot
const bot = new Bot('username', process.env.PASS)
// event handlers for bot events
bot.on('ready', () => {
console.log('Bot is ready!');
})
bot.on('error', (err) => {
console.log(err);
})
bot.on('post', (message) => {
// parse the message object with a prefix, in this case 'r;'
let parsed = bot.parse(message, 'r;')
if (parsed.command == 'ping') {
// post to message context
bot.post('Pong!', message.origin)
}
})
// initialize bot
bot.login()
commands can be handled by passing a message object to "bot.parse()
" and a prefix. this returns a parsed object, which contains ".command
", which is the command ran, and ".args
", which is an array with all of the arguments from the command. this can be used to parse a message for a command.
the "bot.post()
" command has 2 arguments, "message
" and "origin
". the origin argument is either "home
" or a chatid, which can be received from a message object by "message.origin
".
api data can be retrieved by "bot.get()
". the first argument could be something like "ulist
", in which if that were to run it would return the current user list on meower.
you may use mwrapper with the following conditions:
all of my bots and mwrapper are still a work in progress and will have many versions and your code might get outdated over time. if you're making a bot with mwrapper or using my bots make sure that you're using the right versions according to the github.