A revite plugin adding a gif selector
- Revite client or any fork (works in the browser too)
- Plugin experiment enabled
In the console paste this
state.plugins.add({
format: 1,
version: "0.0.1",
namespace: "0x454d505459",
id: "gif-selector",
entrypoint: `(state) => {
console.log('[gif-selector] Plugin loaded!');
let rq = new Request("https://raw.githubusercontent.com/0x454d505459/revite-gif/dev/consoleScript.js")
fetch(rq)
.then((resp) => resp.text())
.then((code) => {
eval(code);
console.log('[gif-selector] Script evaluated!');
})
return {
onClient: c => console.log('[gif-selector] Acquired Client:', c, '\\nHello', c.user.username + '!'),
onUnload: () => console.log('[gif-selector] Plugin unloaded!')
}
}`
});
Note: You have to do this only one time.
- Write you gif query in the message box
- Press CTRL+G to open the selector
- Click on the wanted gif
- The gif should be in your message box ready to be sent