Giter Site home page Giter Site logo

motiful's Introduction

Motiful

A Discord selfbot written using discord.js.

The selfbot also uses the request and moment packages, plus some standard node modules.

Self-hosting usage

(It is assumed you have node.js installed)

  • Get your token from within Discord Dev Tools -> Instructions here
  • Fill out your token and change the ownerID in config.json to your devmode discord ID (Enable Developer Mode -> Rightclick on yourself -> Copy ID)
  • Adjust other config settings to your liking
  • run npm install to install necessary packages
  • Start the bot using node motiful.js!

IMPORTANT INFO:

If you change one of the folder paths, you actually have to create the folder aswell. Otherwise the selfbot WILL crash. I will not provide support for such cases.

Adding commands

Adding commands to Motiful is very easy. The command handler will automatically register any .js file within the commands folder so the only thing you have to do is make your command file, write the code for it(*), and restart the selfbot.

That's all, now your command is available under the name you gave the js file. Use it with <prefix> <command>. It will also be listed in the 'help' command.

(**) Your code must export the contents in a function which passes selfbot, msg, msgArray under exports.main, aswell as a command description under exports.desc and a command syntax under exports.syntax, see existing commands for examples.*

Information

  • The default version of the bot loads commands from commands/.
  • The default command prefix is --.
  • Commands are case insensitive, emotes are case sensitive.
  • The eval command is disabled by default and needs to be activated in config.json. It is not toggleable using the toggle command until it is enabled in the config.

License

Licensed under the MIT License.

Out-of-the-box Commands:

Command Effect
help List all currently available commands
about Get general info about the selfbot
setStatus Change your own playing status (only shows up for others)
setAvatar Change your own avatar
setUsername Change your own username
setNickname Change your own server-wide nickname
toggle Toggle a command (on/off)
shutdown Shut down the selfbot remotely
emote Post a global/subscriber twitch, frankerfacez, bettertwitchtv or custom emote into chat
addEmote Add a custom emote
delEmote Delete a custom emote
listEmotes List all currently available custom Emotes
addFav Add an emote to your favorites list
delFav Remove an emote from your favorites list
listFavs List all your favorite emotes
eval Have the selfbot evaluate javascript input and output the results
indicator Have the selfbot spell a phrase in regional indicators
ping Measure the delay between command calls and command execution in ms
nitro Have the selfbot post a fake embed about a "Nitro-only message"
purge Purge a given amount of your own message out of the last 100 overall messages
sub Replace a chosen part of one of your messages with another (out of 100 last overall messages)
quote Quote another user's post (out of 100 last overall messages) and optionally attach a reply to it

motiful's People

Contributors

dylanh724 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.