1
0
mirror of https://github.com/Decicus/DecAPI-Docs.git synced 2024-11-25 09:52:29 +01:00

Goodbye Ohbot

This commit is contained in:
Alex Thomassen 2024-02-28 15:11:16 +01:00
parent 4b9ea51b5c
commit c28cdc4f65
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE

View File

@ -120,12 +120,6 @@
<strong class="text-primary"><a href="https://phantombot.tv/">PhantomBot</a> command:</strong> <strong class="text-primary"><a href="https://phantombot.tv/">PhantomBot</a> command:</strong>
<pre><kbd>(customapi {{ replaceBotVariables('phantombot', e.url) }})</kbd></pre> <pre><kbd>(customapi {{ replaceBotVariables('phantombot', e.url) }})</kbd></pre>
</template> </template>
<template v-if="bots.ohbot">
<!-- Ohbot -->
<strong class="text-primary"><a href="https://ohbot.3v.fi/">Ohbot</a> command:</strong>
<pre><kbd>[customapi {{ replaceBotVariables('ohbot', e.url) }}]</kbd></pre>
</template>
</div> </div>
<br> <br>
@ -246,12 +240,6 @@ const botVariables = {
':channel': '$(channel)', ':channel': '$(channel)',
':user': '$(touser)', ':user': '$(touser)',
}, },
// https://ohbot.3v.fi/commands.html
ohbot: {
':channel': '[channel]',
// First parameter or fallback to user executing command... I think?
':user': '[0|[user]]',
},
// https://phantombot.github.io/PhantomBot/guides/#guide=content/commands/command-variables // https://phantombot.github.io/PhantomBot/guides/#guide=content/commands/command-variables
phantombot: { phantombot: {
':channel': '(channelname)', ':channel': '(channelname)',
@ -298,7 +286,6 @@ const bots = {
deepbot: true, deepbot: true,
fossabot: true, fossabot: true,
nightbot: true, nightbot: true,
ohbot: true,
phantombot: true, phantombot: true,
streamelements: true, streamelements: true,
}; };
@ -318,7 +305,6 @@ export default {
deepbot: 'Deepbot', deepbot: 'Deepbot',
fossabot: 'Fossabot', fossabot: 'Fossabot',
nightbot: 'Nightbot', nightbot: 'Nightbot',
ohbot: 'Ohbot',
phantombot: 'PhantomBot', phantombot: 'PhantomBot',
streamelements: 'StreamElements', streamelements: 'StreamElements',
}, },