Skip to content

People in the powercord discord server wanted it, so I made it 😎

License

Notifications You must be signed in to change notification settings

aa-forks/eval-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: this plugin will probably get fucked in v3 of powercord, so I'm archiving it. You can still use it, but be weary.

Eval Plugin

A feature rich eval command for your powercord uses!


Installing

  1. Clone the repoisitory in plugins folder. (git clone https://github.com/Sxmurai/eval-plugin/)
  2. Refresh Discord. (CTRL/COMMAND + R)
  3. Check out the settings you can change, or use the command!

Settings

I have implemented a few settings to make the plugin a bit more customizable:

  1. Auto completion. This stores the last few usages so you can reselect an old statement

alt text

You may set this to whatever you'd like! It just has to be a number though.

You can also clear the message cache just in case, aswell as disable auto completion.

  1. Token Replacer. If you are storing your token to prevent logouts, there is a way to replace your token, just in case!

alt text

You may set this to whatever you'd like!

  1. Output Formatting. You can format how you would like your eval output.

alt text

You may format your output to whatever you'd like! Here is a key:

  • {time} Time taken to execute. Example: Time took: {time}
  • {type} The return type. Example: Typeof {type}
  • {output} The evaluted output. Example: {n}{output}
  • {n} A new line (or \n). Example: {n}
  • {depth} The depth to go. Example: Depth ${depth}

Note: Restart/Refresh discord after changing a setting!


Snippet

Basic Command Usage:

alt text

Depth Usage:

alt text


Suggestions

Do you want something added to the eval plugin? Make an issue, and I'll respond as quick as I can!

If you have programming knowledge, fork and make a PR, I'll look into it as quick as I can!


@Sxmurai - 2020


ANYTHING YOU DO WITH THIS, I AM NOT LIABLE FOR! YOU ARE AT FAULT FOR WHATEVER YOU DO!

About

People in the powercord discord server wanted it, so I made it 😎

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published