From 927407d572f0dad3a7f3863afe0591f4559d43e0 Mon Sep 17 00:00:00 2001 From: nikurasu Date: Thu, 28 Oct 2021 08:14:20 +0200 Subject: [PATCH] FEATURE: made auth.rb template --- .gitignore | 3 +-- lib/auth.rb | 6 +++--- lib/auth.rb.example | 8 ++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 lib/auth.rb.example diff --git a/.gitignore b/.gitignore index f92858d..d7efaef 100644 --- a/.gitignore +++ b/.gitignore @@ -57,7 +57,6 @@ build-iPhoneSimulator/ # .rubocop-https?--* # no token leaks -/lib/auth.rb +lib/auth.rb # emacs -*~ diff --git a/lib/auth.rb b/lib/auth.rb index 9dea96f..7137178 100644 --- a/lib/auth.rb +++ b/lib/auth.rb @@ -1,8 +1,8 @@ #!/usr/bin/ruby -TOKEN = "YOUR_TOKEN_HERE" +TOKEN = "OTAyNTA5OTY5NjIxMDIwNjcz.YXfd6A.UsF8aSMMcYhQGu2cyMGoU5Jp7vA" # Channel to bootstrap db form (and to display in status) -CHANNEL = 536907792859267083 +CHANNEL = 902501210442072085 # All channels to watch -CHANNELS = [ 536907792859267083, 560880728796168221 ] +CHANNELS = [902501210442072085 ] diff --git a/lib/auth.rb.example b/lib/auth.rb.example new file mode 100644 index 0000000..9dea96f --- /dev/null +++ b/lib/auth.rb.example @@ -0,0 +1,8 @@ +#!/usr/bin/ruby + +TOKEN = "YOUR_TOKEN_HERE" + +# Channel to bootstrap db form (and to display in status) +CHANNEL = 536907792859267083 +# All channels to watch +CHANNELS = [ 536907792859267083, 560880728796168221 ]