diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml deleted file mode 100644 index a757eb2..0000000 --- a/.github/workflows/build-push.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: "Publish and deploy" -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -on: - push: - branches: [ "master" ] - -jobs: - upload-solution: - name: Upload Octobot to production - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - environment: production - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Publish solution - run: dotnet publish $PUBLISH_FLAGS - env: - PUBLISH_FLAGS: ${{vars.PUBLISH_FLAGS}} - - - name: Setup SSH key - run: | - install -m 600 -D /dev/null ~/.ssh/id_rsa - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - ssh-keyscan -H $SSH_HOST > ~/.ssh/known_hosts - shell: bash - env: - SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}} - SSH_HOST: ${{secrets.SSH_HOST}} - - - name: Stop currently running instance - run: | - ssh $SSH_USER@$SSH_HOST $STOP_COMMAND - shell: bash - env: - SSH_USER: ${{secrets.SSH_USER}} - SSH_HOST: ${{secrets.SSH_HOST}} - STOP_COMMAND: ${{vars.STOP_COMMAND}} - - - name: Upload published solution - run: | - scp -r $UPLOAD_FROM $SSH_USER@$SSH_HOST:$UPLOAD_TO - shell: bash - env: - SSH_USER: ${{secrets.SSH_USER}} - SSH_HOST: ${{secrets.SSH_HOST}} - UPLOAD_FROM: ${{vars.UPLOAD_FROM}} - UPLOAD_TO: ${{vars.UPLOAD_TO}} - - - name: Start new instance - run: | - ssh $SSH_USER@$SSH_HOST $START_COMMAND - shell: bash - env: - SSH_USER: ${{secrets.SSH_USER}} - SSH_HOST: ${{secrets.SSH_HOST}} - START_COMMAND: ${{vars.START_COMMAND}} diff --git a/docs/README.md b/docs/README.md index 5be0bd8..128fe7a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,18 +19,6 @@ Veemo! I'm a general-purpose bot for moderation (formerly known as Boyfriend) wr *...a-a-and more!* -[//]: # (if you are reading this, message @mctaylors and ask him to bring back the wiki) - -## Invite Octobot - -Did you know that Octobot is a public bot? You can invite it to your server and use it without building it! -

- -

- -> [!IMPORTANT] -> The bot will not be able to respond in private channels unless you have configured permissions for the bot in those channels. - ## Building Octobot 1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) diff --git a/docs/octobot-banner.png b/docs/octobot-banner.png new file mode 100644 index 0000000..2ab5f5b Binary files /dev/null and b/docs/octobot-banner.png differ diff --git a/src/Commands/AboutCommandGroup.cs b/src/Commands/AboutCommandGroup.cs index 4c396d9..e978ec9 100644 --- a/src/Commands/AboutCommandGroup.cs +++ b/src/Commands/AboutCommandGroup.cs @@ -100,7 +100,7 @@ public class AboutCommandGroup : CommandGroup .WithSmallTitle(string.Format(Messages.AboutBot, bot.Username), bot) .WithDescription(builder.ToString()) .WithColour(ColorsList.Cyan) - .WithImageUrl("https://cdn.mctaylors.ru/octobot-banner.png") + .WithImageUrl("https://i.ibb.co/fS6wZhh/octobot-banner.png") .Build(); var repositoryButton = new ButtonComponent( diff --git a/src/Responders/MessageReceivedResponder.cs b/src/Responders/MessageReceivedResponder.cs index f5c65f4..4ac312b 100644 --- a/src/Responders/MessageReceivedResponder.cs +++ b/src/Responders/MessageReceivedResponder.cs @@ -28,7 +28,7 @@ public class MessageCreateResponder : IResponder "whoami" => "`nobody`", "сука !!" => "`root`", "воооо" => "`removing /...`", - "пон" => "https://cdn.upload.systems/uploads/2LNfUSwM.jpg", + "пон" => "https://i.ibb.co/Kw6QVcw/parry.jpg", "++++" => "#", "осу" => "https://github.com/ppy/osu", _ => default(Optional)