diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000..a55f5627 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,6 @@ +task: + name: Dummy + container: + image: alpine:latest + script: + - echo "wtf is this shit and why should I configure this to prevent it executing Dockerfile" \ No newline at end of file diff --git a/CompatBot/Commands/Vision.cs b/CompatBot/Commands/Vision.cs index b68ea295..424829e0 100644 --- a/CompatBot/Commands/Vision.cs +++ b/CompatBot/Commands/Vision.cs @@ -305,7 +305,8 @@ namespace CompatBot.Commands if ((str.StartsWith("this") || str.StartsWith("that") || str.StartsWith("last") - || str.StartsWith("previous")) + || str.StartsWith("previous") + || str.StartsWith("^")) && ctx.Channel.PermissionsFor(ctx.Client.GetMember(ctx.Guild, ctx.Client.CurrentUser)).HasPermission(Permissions.ReadMessageHistory)) try { diff --git a/discord-bot-net.sln b/discord-bot-net.sln index 4e20c08f..5184ec2f 100644 --- a/discord-bot-net.sln +++ b/discord-bot-net.sln @@ -21,6 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GithubClient", "Clients\Git EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AD87F38F-BFCE-4EA6-A430-20C497552FD7}" ProjectSection(SolutionItems) = preProject + .cirrus.yml = .cirrus.yml azure-pipelines.yml = azure-pipelines.yml CONTRIBUTING.md = CONTRIBUTING.md docker-compose.example.yml = docker-compose.example.yml